{"action":"created","comment":{"url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/comments/108304037","pull_request_review_id":29327235,"id":108304037,"diff_hunk":"@@ -1,23 +1,32 @@\n-var release              = false;\n-var express              = require(\"express\");\n-var settings             = require(\"./config/settings.js\");\n-var path                 = require(\"path\");\n-var app                  = express();\n+const path = require('path');\n+const express = require('express');\n \n+const settings = require('./config/settings');\n \n+const app = express();\n+const argv = require('minimist')(process.argv.slice(2));\n \n-app.use(express.static(settings.prodOutput));\n+const appName = argv._[0];\n \n-app.get(\"*\", function response(req, res) {\n-  res.sendFile(path.join(settings.prodOutput, req.url));\n-});\n+function launch(servePath) {\n+  app.use(express.static(servePath));\n \n-app.listen(settings.hotPort, \"0.0.0.0\", function(err) {\n-  if (err) {\n-    console.log(err);\n-    return;\n-  }\n-  console.log(\"Listening on: \" + settings.hotPort);\n-  console.log(\"Serving content from: \" + settings.prodOutput);\n-});\n+  app.get('*', (req, res) => {\n+    res.sendFile(path.join(servePath, req.url));\n+  });\n \n+  app.listen(settings.hotPort, '0.0.0.0', (err) => {\n+    if (err) {\n+      console.log(err);\n+      return;\n+    }\n+    console.log(`Listening on: ${settings.hotPort}`);\n+    console.log(`Serving content from: ${servePath}`);","path":"client/server.js","position":41,"original_position":41,"commit_id":"c170be2903aa98c956d40f8b2811de49b84b9aa5","original_commit_id":"c170be2903aa98c956d40f8b2811de49b84b9aa5","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars3.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unexpected console statement  no-console","created_at":"2017-03-27T23:24:42Z","updated_at":"2017-03-27T23:24:42Z","html_url":"https://github.com/atomicjolt/react_client_starter_app/pull/16#discussion_r108304037","pull_request_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/comments/108304037"},"html":{"href":"https://github.com/atomicjolt/react_client_starter_app/pull/16#discussion_r108304037"},"pull_request":{"href":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/16","id":112566092,"html_url":"https://github.com/atomicjolt/react_client_starter_app/pull/16","diff_url":"https://github.com/atomicjolt/react_client_starter_app/pull/16.diff","patch_url":"https://github.com/atomicjolt/react_client_starter_app/pull/16.patch","issue_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/issues/16","number":16,"state":"open","locked":false,"title":"Isolation","user":{"login":"jbasdf","id":4086,"avatar_url":"https://avatars1.githubusercontent.com/u/4086?v=3","gravatar_id":"","url":"https://api.github.com/users/jbasdf","html_url":"https://github.com/jbasdf","followers_url":"https://api.github.com/users/jbasdf/followers","following_url":"https://api.github.com/users/jbasdf/following{/other_user}","gists_url":"https://api.github.com/users/jbasdf/gists{/gist_id}","starred_url":"https://api.github.com/users/jbasdf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbasdf/subscriptions","organizations_url":"https://api.github.com/users/jbasdf/orgs","repos_url":"https://api.github.com/users/jbasdf/repos","events_url":"https://api.github.com/users/jbasdf/events{/privacy}","received_events_url":"https://api.github.com/users/jbasdf/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-03-25T00:48:56Z","updated_at":"2017-03-27T23:24:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5a1b4248fa2573b0c0b25ada73418bfbaab4330","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/16/commits","review_comments_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/16/comments","review_comment_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/issues/16/comments","statuses_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/statuses/c170be2903aa98c956d40f8b2811de49b84b9aa5","head":{"label":"atomicjolt:isolation","ref":"isolation","sha":"c170be2903aa98c956d40f8b2811de49b84b9aa5","user":{"login":"atomicjolt","id":7516397,"avatar_url":"https://avatars2.githubusercontent.com/u/7516397?v=3","gravatar_id":"","url":"https://api.github.com/users/atomicjolt","html_url":"https://github.com/atomicjolt","followers_url":"https://api.github.com/users/atomicjolt/followers","following_url":"https://api.github.com/users/atomicjolt/following{/other_user}","gists_url":"https://api.github.com/users/atomicjolt/gists{/gist_id}","starred_url":"https://api.github.com/users/atomicjolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atomicjolt/subscriptions","organizations_url":"https://api.github.com/users/atomicjolt/orgs","repos_url":"https://api.github.com/users/atomicjolt/repos","events_url":"https://api.github.com/users/atomicjolt/events{/privacy}","received_events_url":"https://api.github.com/users/atomicjolt/received_events","type":"Organization","site_admin":false},"repo":{"id":45271727,"name":"react_client_starter_app","full_name":"atomicjolt/react_client_starter_app","owner":{"login":"atomicjolt","id":7516397,"avatar_url":"https://avatars2.githubusercontent.com/u/7516397?v=3","gravatar_id":"","url":"https://api.github.com/users/atomicjolt","html_url":"https://github.com/atomicjolt","followers_url":"https://api.github.com/users/atomicjolt/followers","following_url":"https://api.github.com/users/atomicjolt/following{/other_user}","gists_url":"https://api.github.com/users/atomicjolt/gists{/gist_id}","starred_url":"https://api.github.com/users/atomicjolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atomicjolt/subscriptions","organizations_url":"https://api.github.com/users/atomicjolt/orgs","repos_url":"https://api.github.com/users/atomicjolt/repos","events_url":"https://api.github.com/users/atomicjolt/events{/privacy}","received_events_url":"https://api.github.com/users/atomicjolt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atomicjolt/react_client_starter_app","description":null,"fork":false,"url":"https://api.github.com/repos/atomicjolt/react_client_starter_app","forks_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/forks","keys_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/teams","hooks_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/hooks","issue_events_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/issues/events{/number}","events_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/events","assignees_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/assignees{/user}","branches_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/branches{/branch}","tags_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/tags","blobs_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/statuses/{sha}","languages_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/languages","stargazers_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/stargazers","contributors_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/contributors","subscribers_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/subscribers","subscription_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/subscription","commits_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/contents/{+path}","compare_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/merges","archive_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/downloads","issues_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/issues{/number}","pulls_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls{/number}","milestones_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/milestones{/number}","notifications_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/labels{/name}","releases_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/releases{/id}","deployments_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/deployments","created_at":"2015-10-30T19:16:29Z","updated_at":"2017-03-25T18:14:37Z","pushed_at":"2017-03-27T23:24:10Z","git_url":"git://github.com/atomicjolt/react_client_starter_app.git","ssh_url":"git@github.com:atomicjolt/react_client_starter_app.git","clone_url":"https://github.com/atomicjolt/react_client_starter_app.git","svn_url":"https://github.com/atomicjolt/react_client_starter_app","homepage":null,"size":557,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":23,"default_branch":"master"}},"base":{"label":"atomicjolt:master","ref":"master","sha":"f137f92b5688247529c573373b2b10204b4d884f","user":{"login":"atomicjolt","id":7516397,"avatar_url":"https://avatars2.githubusercontent.com/u/7516397?v=3","gravatar_id":"","url":"https://api.github.com/users/atomicjolt","html_url":"https://github.com/atomicjolt","followers_url":"https://api.github.com/users/atomicjolt/followers","following_url":"https://api.github.com/users/atomicjolt/following{/other_user}","gists_url":"https://api.github.com/users/atomicjolt/gists{/gist_id}","starred_url":"https://api.github.com/users/atomicjolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atomicjolt/subscriptions","organizations_url":"https://api.github.com/users/atomicjolt/orgs","repos_url":"https://api.github.com/users/atomicjolt/repos","events_url":"https://api.github.com/users/atomicjolt/events{/privacy}","received_events_url":"https://api.github.com/users/atomicjolt/received_events","type":"Organization","site_admin":false},"repo":{"id":45271727,"name":"react_client_starter_app","full_name":"atomicjolt/react_client_starter_app","owner":{"login":"atomicjolt","id":7516397,"avatar_url":"https://avatars2.githubusercontent.com/u/7516397?v=3","gravatar_id":"","url":"https://api.github.com/users/atomicjolt","html_url":"https://github.com/atomicjolt","followers_url":"https://api.github.com/users/atomicjolt/followers","following_url":"https://api.github.com/users/atomicjolt/following{/other_user}","gists_url":"https://api.github.com/users/atomicjolt/gists{/gist_id}","starred_url":"https://api.github.com/users/atomicjolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atomicjolt/subscriptions","organizations_url":"https://api.github.com/users/atomicjolt/orgs","repos_url":"https://api.github.com/users/atomicjolt/repos","events_url":"https://api.github.com/users/atomicjolt/events{/privacy}","received_events_url":"https://api.github.com/users/atomicjolt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atomicjolt/react_client_starter_app","description":null,"fork":false,"url":"https://api.github.com/repos/atomicjolt/react_client_starter_app","forks_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/forks","keys_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/teams","hooks_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/hooks","issue_events_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/issues/events{/number}","events_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/events","assignees_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/assignees{/user}","branches_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/branches{/branch}","tags_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/tags","blobs_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/statuses/{sha}","languages_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/languages","stargazers_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/stargazers","contributors_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/contributors","subscribers_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/subscribers","subscription_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/subscription","commits_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/contents/{+path}","compare_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/merges","archive_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/downloads","issues_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/issues{/number}","pulls_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls{/number}","milestones_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/milestones{/number}","notifications_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/labels{/name}","releases_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/releases{/id}","deployments_url":"https://api.github.com/repos/atomicjolt/react_client_starter_app/deployments","created_at":"2015-10-30T19:16:29Z","updated_at":"2017-03-25T18:14:37Z","pushed_at":"2017-03-27T23:24:10Z","git_url":"git://github.com/atomicjolt/react_client_starter_app.git","ssh_url":"git@github.com:atomicjolt/react_client_starter_app.git","clone_url":"https://github.com/atomicjolt/react_client_starter_app.git","svn_url":"https://github.com/atomicjolt/react_client_starter_app","homepage":null,"size":557,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":1,"forks":10,"open_issues":1,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/16"},"html":{"href":"https://github.com/atomicjolt/react_client_starter_app/pull/16"},"issue":{"href":"https://api.github.com/repos/atomicjolt/react_client_starter_app/issues/16"},"comments":{"href":"https://api.github.com/repos/atomicjolt/react_client_starter_app/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atomicjolt/react_client_starter_app/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/atomicjolt/react_client_starter_app/statuses/c170be2903aa98c956d40f8b2811de49b84b9aa5"}}}}
{"actor":{"display_login":"houndci-bot"}}