-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node processes do not exit normally when CTRL+C (SIGINT) #1093
Comments
Duplicate of #860 |
@shellscape Are you sure this is the same issue? @h6ah4i describes it as:
In my case it doesn't completely kill Node processes after compiling assets. |
My confidence is high. I believe the point at which the SIGINT actually kicks is in a red herring. The greater issue lies with Windows. If you'd like to add your specific series of events to that issue in a comment, please do :) |
Ok thank you. :) |
If you are using Git for Windows, that might be the problem: git-for-windows/git#1219 (There is workaround described in that link). |
Code
// webpack.config.js
// additional code, remove if not needed.
Expected Behavior
node.exe processes should exit and Webpack shouldn't trigger compile afterwards.
Actual Behavior
node.exe processes don't exit and Webpack triggers compile afterwards.
For Bugs; How can we reproduce the behavior?
Clone the repro repo with the appropriate Webpack/dev-server + Node version and follow these steps:
https://github.com/gaui/devserver-node-hang
Screencast of bug:
https://i.imgur.com/8oT04Nn.gif
For Features; What is the motivation and/or use-case for the feature?
The text was updated successfully, but these errors were encountered: