{"action":"created","comment":{"url":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/comments/30203139","id":30203139,"diff_hunk":"@@ -156,17 +161,15 @@ function build(error, contributors) {\n           },\n         })\n       )\n-      .use(\n-        serve({\n-          port: 4242,\n-        })\n-      )\n       .build((err) => {\n         if (err) {throw err}\n \n-        if (open) {\n-          opn(\"http://localhost:4242\")\n-        }\n+        devServer({\n+          protocol: __SERVER_PROTOCOL__,\n+          host: __SERVER_HOSTNAME__,\n+          port: __SERVER_PORT__,\n+          open: process.argv.indexOf(\"--open\") !== -1,","path":"scripts/build.js","position":92,"original_position":92,"commit_id":"1a1294c03a928f8568852772ed41e44c5d8bc83a","original_commit_id":"1a1294c03a928f8568852772ed41e44c5d8bc83a","user":{"login":"MoOx","id":157534,"avatar_url":"https://avatars.githubusercontent.com/u/157534?v=3","gravatar_id":"","url":"https://api.github.com/users/MoOx","html_url":"https://github.com/MoOx","followers_url":"https://api.github.com/users/MoOx/followers","following_url":"https://api.github.com/users/MoOx/following{/other_user}","gists_url":"https://api.github.com/users/MoOx/gists{/gist_id}","starred_url":"https://api.github.com/users/MoOx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoOx/subscriptions","organizations_url":"https://api.github.com/users/MoOx/orgs","repos_url":"https://api.github.com/users/MoOx/repos","events_url":"https://api.github.com/users/MoOx/events{/privacy}","received_events_url":"https://api.github.com/users/MoOx/received_events","type":"User","site_admin":false},"body":"Done in 4038b3e20b21652a2e1fa3146a6d3304a9a21170","created_at":"2015-05-13T05:19:13Z","updated_at":"2015-05-13T05:19:13Z","html_url":"https://github.com/putaindecode/putaindecode.fr/pull/396#discussion_r30203139","pull_request_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/396","_links":{"self":{"href":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/comments/30203139"},"html":{"href":"https://github.com/putaindecode/putaindecode.fr/pull/396#discussion_r30203139"},"pull_request":{"href":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/396"}}},"pull_request":{"url":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/396","id":35002808,"html_url":"https://github.com/putaindecode/putaindecode.fr/pull/396","diff_url":"https://github.com/putaindecode/putaindecode.fr/pull/396.diff","patch_url":"https://github.com/putaindecode/putaindecode.fr/pull/396.patch","issue_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/396","number":396,"state":"closed","locked":false,"title":"Webpack dev server","user":{"login":"MoOx","id":157534,"avatar_url":"https://avatars.githubusercontent.com/u/157534?v=3","gravatar_id":"","url":"https://api.github.com/users/MoOx","html_url":"https://github.com/MoOx","followers_url":"https://api.github.com/users/MoOx/followers","following_url":"https://api.github.com/users/MoOx/following{/other_user}","gists_url":"https://api.github.com/users/MoOx/gists{/gist_id}","starred_url":"https://api.github.com/users/MoOx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoOx/subscriptions","organizations_url":"https://api.github.com/users/MoOx/orgs","repos_url":"https://api.github.com/users/MoOx/repos","events_url":"https://api.github.com/users/MoOx/events{/privacy}","received_events_url":"https://api.github.com/users/MoOx/received_events","type":"User","site_admin":false},"body":"- better metalsmith watcher\r\n- webpack dev server instead of metalsmith-serve\r\n- static JS file builded by webpack (for now empty). Name: `index.{shirt git hash}.js`.\r\n- shared global variables for metalsmith, webpack, scripts, dev server\r\n\r\n(css by webpack right after that).","created_at":"2015-05-08T12:02:52Z","updated_at":"2015-05-13T05:19:13Z","closed_at":"2015-05-09T05:26:43Z","merged_at":"2015-05-09T05:26:43Z","merge_commit_sha":"3f65ae5cdf1b85a89f0f6a50d3447e52e2af71a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/396/commits","review_comments_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/396/comments","review_comment_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/396/comments","statuses_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/statuses/1a1294c03a928f8568852772ed41e44c5d8bc83a","head":{"label":"putaindecode:webpack-dev-server","ref":"webpack-dev-server","sha":"1a1294c03a928f8568852772ed41e44c5d8bc83a","user":{"login":"putaindecode","id":4541781,"avatar_url":"https://avatars.githubusercontent.com/u/4541781?v=3","gravatar_id":"","url":"https://api.github.com/users/putaindecode","html_url":"https://github.com/putaindecode","followers_url":"https://api.github.com/users/putaindecode/followers","following_url":"https://api.github.com/users/putaindecode/following{/other_user}","gists_url":"https://api.github.com/users/putaindecode/gists{/gist_id}","starred_url":"https://api.github.com/users/putaindecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/putaindecode/subscriptions","organizations_url":"https://api.github.com/users/putaindecode/orgs","repos_url":"https://api.github.com/users/putaindecode/repos","events_url":"https://api.github.com/users/putaindecode/events{/privacy}","received_events_url":"https://api.github.com/users/putaindecode/received_events","type":"Organization","site_admin":false},"repo":{"id":10319056,"name":"putaindecode.fr","full_name":"putaindecode/putaindecode.fr","owner":{"login":"putaindecode","id":4541781,"avatar_url":"https://avatars.githubusercontent.com/u/4541781?v=3","gravatar_id":"","url":"https://api.github.com/users/putaindecode","html_url":"https://github.com/putaindecode","followers_url":"https://api.github.com/users/putaindecode/followers","following_url":"https://api.github.com/users/putaindecode/following{/other_user}","gists_url":"https://api.github.com/users/putaindecode/gists{/gist_id}","starred_url":"https://api.github.com/users/putaindecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/putaindecode/subscriptions","organizations_url":"https://api.github.com/users/putaindecode/orgs","repos_url":"https://api.github.com/users/putaindecode/repos","events_url":"https://api.github.com/users/putaindecode/events{/privacy}","received_events_url":"https://api.github.com/users/putaindecode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/putaindecode/putaindecode.fr","description":"Partager du code et des méthodes de travail de qualité, afin qu’on puisse tous s’améliorer ensemble.","fork":false,"url":"https://api.github.com/repos/putaindecode/putaindecode.fr","forks_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/forks","keys_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/teams","hooks_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/hooks","issue_events_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/events{/number}","events_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/events","assignees_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/assignees{/user}","branches_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/branches{/branch}","tags_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/tags","blobs_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/git/refs{/sha}","trees_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/statuses/{sha}","languages_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/languages","stargazers_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/stargazers","contributors_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/contributors","subscribers_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/subscribers","subscription_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/subscription","commits_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/commits{/sha}","git_commits_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/git/commits{/sha}","comments_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/comments{/number}","issue_comment_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/comments{/number}","contents_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/contents/{+path}","compare_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/merges","archive_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/downloads","issues_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues{/number}","pulls_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls{/number}","milestones_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/milestones{/number}","notifications_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/labels{/name}","releases_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/releases{/id}","created_at":"2013-05-27T17:08:41Z","updated_at":"2015-05-08T11:05:58Z","pushed_at":"2015-05-13T05:18:22Z","git_url":"git://github.com/putaindecode/putaindecode.fr.git","ssh_url":"git@github.com:putaindecode/putaindecode.fr.git","clone_url":"https://github.com/putaindecode/putaindecode.fr.git","svn_url":"https://github.com/putaindecode/putaindecode.fr","homepage":"http://putaindecode.fr","size":33954,"stargazers_count":63,"watchers_count":63,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":52,"mirror_url":null,"open_issues_count":39,"forks":52,"open_issues":39,"watchers":63,"default_branch":"master"}},"base":{"label":"putaindecode:master","ref":"master","sha":"bcc54f7327d86780a7ba7075e36f25491dc19b47","user":{"login":"putaindecode","id":4541781,"avatar_url":"https://avatars.githubusercontent.com/u/4541781?v=3","gravatar_id":"","url":"https://api.github.com/users/putaindecode","html_url":"https://github.com/putaindecode","followers_url":"https://api.github.com/users/putaindecode/followers","following_url":"https://api.github.com/users/putaindecode/following{/other_user}","gists_url":"https://api.github.com/users/putaindecode/gists{/gist_id}","starred_url":"https://api.github.com/users/putaindecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/putaindecode/subscriptions","organizations_url":"https://api.github.com/users/putaindecode/orgs","repos_url":"https://api.github.com/users/putaindecode/repos","events_url":"https://api.github.com/users/putaindecode/events{/privacy}","received_events_url":"https://api.github.com/users/putaindecode/received_events","type":"Organization","site_admin":false},"repo":{"id":10319056,"name":"putaindecode.fr","full_name":"putaindecode/putaindecode.fr","owner":{"login":"putaindecode","id":4541781,"avatar_url":"https://avatars.githubusercontent.com/u/4541781?v=3","gravatar_id":"","url":"https://api.github.com/users/putaindecode","html_url":"https://github.com/putaindecode","followers_url":"https://api.github.com/users/putaindecode/followers","following_url":"https://api.github.com/users/putaindecode/following{/other_user}","gists_url":"https://api.github.com/users/putaindecode/gists{/gist_id}","starred_url":"https://api.github.com/users/putaindecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/putaindecode/subscriptions","organizations_url":"https://api.github.com/users/putaindecode/orgs","repos_url":"https://api.github.com/users/putaindecode/repos","events_url":"https://api.github.com/users/putaindecode/events{/privacy}","received_events_url":"https://api.github.com/users/putaindecode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/putaindecode/putaindecode.fr","description":"Partager du code et des méthodes de travail de qualité, afin qu’on puisse tous s’améliorer ensemble.","fork":false,"url":"https://api.github.com/repos/putaindecode/putaindecode.fr","forks_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/forks","keys_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/teams","hooks_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/hooks","issue_events_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/events{/number}","events_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/events","assignees_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/assignees{/user}","branches_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/branches{/branch}","tags_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/tags","blobs_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/git/refs{/sha}","trees_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/statuses/{sha}","languages_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/languages","stargazers_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/stargazers","contributors_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/contributors","subscribers_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/subscribers","subscription_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/subscription","commits_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/commits{/sha}","git_commits_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/git/commits{/sha}","comments_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/comments{/number}","issue_comment_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/comments{/number}","contents_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/contents/{+path}","compare_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/merges","archive_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/downloads","issues_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues{/number}","pulls_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls{/number}","milestones_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/milestones{/number}","notifications_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/labels{/name}","releases_url":"https://api.github.com/repos/putaindecode/putaindecode.fr/releases{/id}","created_at":"2013-05-27T17:08:41Z","updated_at":"2015-05-08T11:05:58Z","pushed_at":"2015-05-13T05:18:22Z","git_url":"git://github.com/putaindecode/putaindecode.fr.git","ssh_url":"git@github.com:putaindecode/putaindecode.fr.git","clone_url":"https://github.com/putaindecode/putaindecode.fr.git","svn_url":"https://github.com/putaindecode/putaindecode.fr","homepage":"http://putaindecode.fr","size":33954,"stargazers_count":63,"watchers_count":63,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":52,"mirror_url":null,"open_issues_count":39,"forks":52,"open_issues":39,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/396"},"html":{"href":"https://github.com/putaindecode/putaindecode.fr/pull/396"},"issue":{"href":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/396"},"comments":{"href":"https://api.github.com/repos/putaindecode/putaindecode.fr/issues/396/comments"},"review_comments":{"href":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/396/comments"},"review_comment":{"href":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/putaindecode/putaindecode.fr/pulls/396/commits"},"statuses":{"href":"https://api.github.com/repos/putaindecode/putaindecode.fr/statuses/1a1294c03a928f8568852772ed41e44c5d8bc83a"}}}}