-
-
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
webpack-dev-server does not stop on Ctrl+C #860
Comments
@h6ah4i please confirm that this is still an issue with 2.7.1 |
@shellscape Yep, I can still reproduce the same issue with 2.7.1. |
@h6ah4i thanks, we'll look at fixing this over the coming weeks |
I use this script (on windows), but it is not good (webpack-dev-server version 2.7.1) |
If anyone else is intersested in I'm using:
to kill on the specific port. |
We can improve @dwjohnston suggestion by setting his command as a bash alias to avoid typing the command from scratch every time .
vim ~/.bashrc
alias killwebpack="taskkill //pid \`netstat -aon | grep 3000 | grep -P '(?<=LISTENING).*' -o | grep -P '\\d*' -o\` //f"
killwebpack |
@h6ah4i @minya92 @dwjohnston @ahlechandre please check out and try this branch: https://github.com/webpack/webpack-dev-server/tree/fix-sigint-edge I believe I identified a potential race condition between |
Hi. I noticed that the latest version v2.4.2 have an issue around process signal handling. Pressing Ctrl+C to stop
webpack-dev-server
does not work while compiling assets. (NOTE: Ctrl+C works well after finished compilation.)Also, I reverted the change of the PR #787 to workaround the issue for now.
OS: macOS 10.12.3
webpack-dev-server 2.4.2
webpack 2.3.2
The text was updated successfully, but these errors were encountered: