{"action":"created","issue":{"url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/402","repository_url":"https://api.github.com/repos/JeffreyWay/laravel-mix","labels_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/402/labels{/name}","comments_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/402/comments","events_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/402/events","html_url":"https://github.com/JeffreyWay/laravel-mix/issues/402","id":208213546,"number":402,"title":"npm run <dev|production> hangs after compilation before exiting","user":{"login":"bitdagger","id":2034668,"avatar_url":"https://avatars.githubusercontent.com/u/2034668?v=3","gravatar_id":"","url":"https://api.github.com/users/bitdagger","html_url":"https://github.com/bitdagger","followers_url":"https://api.github.com/users/bitdagger/followers","following_url":"https://api.github.com/users/bitdagger/following{/other_user}","gists_url":"https://api.github.com/users/bitdagger/gists{/gist_id}","starred_url":"https://api.github.com/users/bitdagger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitdagger/subscriptions","organizations_url":"https://api.github.com/users/bitdagger/orgs","repos_url":"https://api.github.com/users/bitdagger/repos","events_url":"https://api.github.com/users/bitdagger/events{/privacy}","received_events_url":"https://api.github.com/users/bitdagger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-02-16T18:57:42Z","updated_at":"2017-02-17T16:15:25Z","closed_at":null,"body":"<!-- \r\n    Before posting this issue, please perform the following steps, and confirm that the issue is still present.\r\n\r\n1. Update Laravel Mix to the latest version.\r\n2. Nuke your dependencies, and reinstall from scratch: `rm -rf node_modules && npm install`.\r\n3. Check your `package.json` file, and ensure that there are no old Laravel Elixir dependencies that might be interfering with Mix.\r\n\r\n-->\r\n\r\n- Laravel Mix Version: 0.8.1\r\n- Node Version (`node -v`): v7.5.0\r\n- NPM Version (`npm -v`): 4.2.0\r\n- OS: Linux Hyperion 4.9.8-1-ARCH #1 SMP PREEMPT Mon Feb 6 12:59:40 CET 2017 x86_64 GNU/Linux\r\n\r\n### Description:\r\nAfter running `npm run <dev|production>`, while the actual compilation runs in a reasonable amount of time (~800ms for dev and ~4500ms for production), the process hangs for about 60 seconds before returning to the command prompt.  \r\n\r\n```\r\n$ time npm run production\r\n> node node_modules/cross-env/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules\r\n\r\n 95% emitting                                                                        \r\n\r\n DONE  Compiled successfully in 4475ms\r\n[table omitted to save space]\r\n\r\nreal\t0m55.700s\r\nuser\t0m6.077s\r\nsys\t0m0.157s\r\n```  \r\n\r\nThis has been the case since at least 0.5.x I believe.   \r\n\r\nObviously it's likely some strange interaction with my terminal config with webpack, since I haven't seen any other complaints about this, but I haven't been able to figure out a root cause so I figured I'd open an issue about it.\r\n\r\n### Steps To Reproduce:  \r\n1. `$ time npm run production` \r\n2. Observe the time data\r\n\r\n\r\n<!-- \r\n\r\nYour issue will be addressed much more quickly if you can provide us exact steps to reproduce the problem.  Bonus points, if you link us to an installable GitHub repository that illustrates the problem.\r\n\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/comments/280693494","html_url":"https://github.com/JeffreyWay/laravel-mix/issues/402#issuecomment-280693494","issue_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/402","id":280693494,"user":{"login":"kohenkatz","id":88755,"avatar_url":"https://avatars.githubusercontent.com/u/88755?v=3","gravatar_id":"","url":"https://api.github.com/users/kohenkatz","html_url":"https://github.com/kohenkatz","followers_url":"https://api.github.com/users/kohenkatz/followers","following_url":"https://api.github.com/users/kohenkatz/following{/other_user}","gists_url":"https://api.github.com/users/kohenkatz/gists{/gist_id}","starred_url":"https://api.github.com/users/kohenkatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohenkatz/subscriptions","organizations_url":"https://api.github.com/users/kohenkatz/orgs","repos_url":"https://api.github.com/users/kohenkatz/repos","events_url":"https://api.github.com/users/kohenkatz/events{/privacy}","received_events_url":"https://api.github.com/users/kohenkatz/received_events","type":"User","site_admin":false},"created_at":"2017-02-17T16:15:25Z","updated_at":"2017-02-17T16:15:25Z","body":"I should also note that I cannot reproduce this on my Windows 10 machine - it works perfectly there, even with notifications enabled."}}
{"actor":{"display_login":"kohenkatz"}}