{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1920","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1920/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1920/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1920/events","html_url":"https://github.com/webpack/webpack/issues/1920","id":128339361,"number":1920,"title":"Watching.close() doesn't exit node process","user":{"login":"EzraM","id":1278543,"avatar_url":"https://avatars.githubusercontent.com/u/1278543?v=3","gravatar_id":"","url":"https://api.github.com/users/EzraM","html_url":"https://github.com/EzraM","followers_url":"https://api.github.com/users/EzraM/followers","following_url":"https://api.github.com/users/EzraM/following{/other_user}","gists_url":"https://api.github.com/users/EzraM/gists{/gist_id}","starred_url":"https://api.github.com/users/EzraM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EzraM/subscriptions","organizations_url":"https://api.github.com/users/EzraM/orgs","repos_url":"https://api.github.com/users/EzraM/repos","events_url":"https://api.github.com/users/EzraM/events{/privacy}","received_events_url":"https://api.github.com/users/EzraM/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/webpack/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/webpack/webpack/labels/upstream","name":"upstream","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-01-23T17:13:56Z","updated_at":"2016-08-29T05:21:09Z","closed_at":"2016-08-29T05:21:09Z","body":"Watching.close() doesn't close the watcher all the way. Run a build, run watcher.close(), Node doesn't exit. On Windows.\r\n\r\n```javascript\r\nconst config = getWebpackConfig()\r\nconst compiler = webpack(config)\r\nconst watchOptions = {}\r\nconst watcher = compiler.watch(watchOptions, (err, stats) => {\r\n  // close after one run\r\n  watcher.close()\r\n})\r\n```\r\n\r\nTested using this config:\r\n```javascript\r\n{\r\n    entry: './src/index'\r\n    ,output: {\r\n      path: 'dist'\r\n      ,filename: '!out.js'\r\n}\r\n```\r\n\r\nindex.js contains `console.log(\"hello world\")`"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/243034335","html_url":"https://github.com/webpack/webpack/issues/1920#issuecomment-243034335","issue_url":"https://api.github.com/repos/webpack/webpack/issues/1920","id":243034335,"user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T05:21:09Z","updated_at":"2016-08-29T05:21:09Z","body":"There's not much we can do about this in webpack. Closing."}}
{"actor":{"display_login":"bebraw"}}