{"action":"closed","number":302,"pull_request":{"url":"https://api.github.com/repos/zeit/next.js/pulls/302","id":95440775,"html_url":"https://github.com/zeit/next.js/pull/302","diff_url":"https://github.com/zeit/next.js/pull/302.diff","patch_url":"https://github.com/zeit/next.js/pull/302.patch","issue_url":"https://api.github.com/repos/zeit/next.js/issues/302","number":302,"state":"closed","locked":false,"title":"Add Polling for Bash on Windows","user":{"login":"IanMitchell","id":603872,"avatar_url":"https://avatars.githubusercontent.com/u/603872?v=3","gravatar_id":"","url":"https://api.github.com/users/IanMitchell","html_url":"https://github.com/IanMitchell","followers_url":"https://api.github.com/users/IanMitchell/followers","following_url":"https://api.github.com/users/IanMitchell/following{/other_user}","gists_url":"https://api.github.com/users/IanMitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/IanMitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanMitchell/subscriptions","organizations_url":"https://api.github.com/users/IanMitchell/orgs","repos_url":"https://api.github.com/users/IanMitchell/repos","events_url":"https://api.github.com/users/IanMitchell/events{/privacy}","received_events_url":"https://api.github.com/users/IanMitchell/received_events","type":"User","site_admin":false},"body":"[Per an official source](https://github.com/Microsoft/BashOnWindows/issues/423#issuecomment-221627364), reading the `/proc/version` file and searching for 'Microsoft' is currently the best way to detect if a user is running Bash on Windows. [I wrote a small package](https://github.com/IanMitchell/is-windows-bash) that checks to see if the user is on Linux and Bash, and if they are will read that file to check if it's a Windows environment. If it is, I add polling to the webpack dev server.\r\n\r\nFirst time doing something like this, so if I've gone about this the wrong way completely a course adjustment would be much appreciated 😄 \r\n\r\nFixes #166 \r\n\r\n","created_at":"2016-11-28T05:36:22Z","updated_at":"2016-11-28T14:04:59Z","closed_at":"2016-11-28T14:04:59Z","merged_at":"2016-11-28T14:04:59Z","merge_commit_sha":"7a66870af9734c2f319b5359bc22301f1034ecaa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zeit/next.js/pulls/302/commits","review_comments_url":"https://api.github.com/repos/zeit/next.js/pulls/302/comments","review_comment_url":"https://api.github.com/repos/zeit/next.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/302/comments","statuses_url":"https://api.github.com/repos/zeit/next.js/statuses/8adabf850e80b97bac371b43be5ecce7c0d4a86f","head":{"label":"IanMitchell:master","ref":"master","sha":"8adabf850e80b97bac371b43be5ecce7c0d4a86f","user":{"login":"IanMitchell","id":603872,"avatar_url":"https://avatars.githubusercontent.com/u/603872?v=3","gravatar_id":"","url":"https://api.github.com/users/IanMitchell","html_url":"https://github.com/IanMitchell","followers_url":"https://api.github.com/users/IanMitchell/followers","following_url":"https://api.github.com/users/IanMitchell/following{/other_user}","gists_url":"https://api.github.com/users/IanMitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/IanMitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanMitchell/subscriptions","organizations_url":"https://api.github.com/users/IanMitchell/orgs","repos_url":"https://api.github.com/users/IanMitchell/repos","events_url":"https://api.github.com/users/IanMitchell/events{/privacy}","received_events_url":"https://api.github.com/users/IanMitchell/received_events","type":"User","site_admin":false},"repo":{"id":74940341,"name":"next.js","full_name":"IanMitchell/next.js","owner":{"login":"IanMitchell","id":603872,"avatar_url":"https://avatars.githubusercontent.com/u/603872?v=3","gravatar_id":"","url":"https://api.github.com/users/IanMitchell","html_url":"https://github.com/IanMitchell","followers_url":"https://api.github.com/users/IanMitchell/followers","following_url":"https://api.github.com/users/IanMitchell/following{/other_user}","gists_url":"https://api.github.com/users/IanMitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/IanMitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanMitchell/subscriptions","organizations_url":"https://api.github.com/users/IanMitchell/orgs","repos_url":"https://api.github.com/users/IanMitchell/repos","events_url":"https://api.github.com/users/IanMitchell/events{/privacy}","received_events_url":"https://api.github.com/users/IanMitchell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IanMitchell/next.js","description":"A minimalistic framework for universal server-rendered React applications","fork":true,"url":"https://api.github.com/repos/IanMitchell/next.js","forks_url":"https://api.github.com/repos/IanMitchell/next.js/forks","keys_url":"https://api.github.com/repos/IanMitchell/next.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IanMitchell/next.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IanMitchell/next.js/teams","hooks_url":"https://api.github.com/repos/IanMitchell/next.js/hooks","issue_events_url":"https://api.github.com/repos/IanMitchell/next.js/issues/events{/number}","events_url":"https://api.github.com/repos/IanMitchell/next.js/events","assignees_url":"https://api.github.com/repos/IanMitchell/next.js/assignees{/user}","branches_url":"https://api.github.com/repos/IanMitchell/next.js/branches{/branch}","tags_url":"https://api.github.com/repos/IanMitchell/next.js/tags","blobs_url":"https://api.github.com/repos/IanMitchell/next.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IanMitchell/next.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IanMitchell/next.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/IanMitchell/next.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IanMitchell/next.js/statuses/{sha}","languages_url":"https://api.github.com/repos/IanMitchell/next.js/languages","stargazers_url":"https://api.github.com/repos/IanMitchell/next.js/stargazers","contributors_url":"https://api.github.com/repos/IanMitchell/next.js/contributors","subscribers_url":"https://api.github.com/repos/IanMitchell/next.js/subscribers","subscription_url":"https://api.github.com/repos/IanMitchell/next.js/subscription","commits_url":"https://api.github.com/repos/IanMitchell/next.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/IanMitchell/next.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/IanMitchell/next.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/IanMitchell/next.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/IanMitchell/next.js/contents/{+path}","compare_url":"https://api.github.com/repos/IanMitchell/next.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IanMitchell/next.js/merges","archive_url":"https://api.github.com/repos/IanMitchell/next.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IanMitchell/next.js/downloads","issues_url":"https://api.github.com/repos/IanMitchell/next.js/issues{/number}","pulls_url":"https://api.github.com/repos/IanMitchell/next.js/pulls{/number}","milestones_url":"https://api.github.com/repos/IanMitchell/next.js/milestones{/number}","notifications_url":"https://api.github.com/repos/IanMitchell/next.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IanMitchell/next.js/labels{/name}","releases_url":"https://api.github.com/repos/IanMitchell/next.js/releases{/id}","deployments_url":"https://api.github.com/repos/IanMitchell/next.js/deployments","created_at":"2016-11-28T05:31:06Z","updated_at":"2016-11-28T05:31:07Z","pushed_at":"2016-11-28T06:25:58Z","git_url":"git://github.com/IanMitchell/next.js.git","ssh_url":"git@github.com:IanMitchell/next.js.git","clone_url":"https://github.com/IanMitchell/next.js.git","svn_url":"https://github.com/IanMitchell/next.js","homepage":"https://zeit.co/blog/next","size":204,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zeit:master","ref":"master","sha":"fcd59adea1a5fe34f5a663d7d2cdb8807f0315d4","user":{"login":"zeit","id":14985020,"avatar_url":"https://avatars.githubusercontent.com/u/14985020?v=3","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"repo":{"id":70107786,"name":"next.js","full_name":"zeit/next.js","owner":{"login":"zeit","id":14985020,"avatar_url":"https://avatars.githubusercontent.com/u/14985020?v=3","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zeit/next.js","description":"A minimalistic framework for universal server-rendered React applications","fork":false,"url":"https://api.github.com/repos/zeit/next.js","forks_url":"https://api.github.com/repos/zeit/next.js/forks","keys_url":"https://api.github.com/repos/zeit/next.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeit/next.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeit/next.js/teams","hooks_url":"https://api.github.com/repos/zeit/next.js/hooks","issue_events_url":"https://api.github.com/repos/zeit/next.js/issues/events{/number}","events_url":"https://api.github.com/repos/zeit/next.js/events","assignees_url":"https://api.github.com/repos/zeit/next.js/assignees{/user}","branches_url":"https://api.github.com/repos/zeit/next.js/branches{/branch}","tags_url":"https://api.github.com/repos/zeit/next.js/tags","blobs_url":"https://api.github.com/repos/zeit/next.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeit/next.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeit/next.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeit/next.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeit/next.js/statuses/{sha}","languages_url":"https://api.github.com/repos/zeit/next.js/languages","stargazers_url":"https://api.github.com/repos/zeit/next.js/stargazers","contributors_url":"https://api.github.com/repos/zeit/next.js/contributors","subscribers_url":"https://api.github.com/repos/zeit/next.js/subscribers","subscription_url":"https://api.github.com/repos/zeit/next.js/subscription","commits_url":"https://api.github.com/repos/zeit/next.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeit/next.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeit/next.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeit/next.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeit/next.js/contents/{+path}","compare_url":"https://api.github.com/repos/zeit/next.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeit/next.js/merges","archive_url":"https://api.github.com/repos/zeit/next.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeit/next.js/downloads","issues_url":"https://api.github.com/repos/zeit/next.js/issues{/number}","pulls_url":"https://api.github.com/repos/zeit/next.js/pulls{/number}","milestones_url":"https://api.github.com/repos/zeit/next.js/milestones{/number}","notifications_url":"https://api.github.com/repos/zeit/next.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeit/next.js/labels{/name}","releases_url":"https://api.github.com/repos/zeit/next.js/releases{/id}","deployments_url":"https://api.github.com/repos/zeit/next.js/deployments","created_at":"2016-10-05T23:32:51Z","updated_at":"2016-11-28T13:05:04Z","pushed_at":"2016-11-28T14:04:59Z","git_url":"git://github.com/zeit/next.js.git","ssh_url":"git@github.com:zeit/next.js.git","clone_url":"https://github.com/zeit/next.js.git","svn_url":"https://github.com/zeit/next.js","homepage":"https://zeit.co/blog/next","size":360,"stargazers_count":6623,"watchers_count":6623,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":248,"mirror_url":null,"open_issues_count":101,"forks":248,"open_issues":101,"watchers":6623,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zeit/next.js/pulls/302"},"html":{"href":"https://github.com/zeit/next.js/pull/302"},"issue":{"href":"https://api.github.com/repos/zeit/next.js/issues/302"},"comments":{"href":"https://api.github.com/repos/zeit/next.js/issues/302/comments"},"review_comments":{"href":"https://api.github.com/repos/zeit/next.js/pulls/302/comments"},"review_comment":{"href":"https://api.github.com/repos/zeit/next.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zeit/next.js/pulls/302/commits"},"statuses":{"href":"https://api.github.com/repos/zeit/next.js/statuses/8adabf850e80b97bac371b43be5ecce7c0d4a86f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rauchg","id":13041,"avatar_url":"https://avatars.githubusercontent.com/u/13041?v=3","gravatar_id":"","url":"https://api.github.com/users/rauchg","html_url":"https://github.com/rauchg","followers_url":"https://api.github.com/users/rauchg/followers","following_url":"https://api.github.com/users/rauchg/following{/other_user}","gists_url":"https://api.github.com/users/rauchg/gists{/gist_id}","starred_url":"https://api.github.com/users/rauchg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rauchg/subscriptions","organizations_url":"https://api.github.com/users/rauchg/orgs","repos_url":"https://api.github.com/users/rauchg/repos","events_url":"https://api.github.com/users/rauchg/events{/privacy}","received_events_url":"https://api.github.com/users/rauchg/received_events","type":"User","site_admin":false},"comments":0,"review_comments":4,"commits":2,"additions":12,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"rauchg"}}