-
Notifications
You must be signed in to change notification settings - Fork 12k
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
[1.7.0] ng serve not properly killed on CTRL+C with yarn/npm #9647
Comments
Note that the problem happens both on windows and linux |
I'm seeing this too. Having to resort to running |
Also appears on OS X. two Control-C to kill the server. |
Oh my god this is the worst - same issue here. Anyone find a fix? So aggravating. Running CLI v1.6.8, Ubuntu 16.04LTS vagrant VM. |
I see this too, but it only happens when I use yarn to run my npm scripts. (OS X btw) |
Try |
Yeah I saw that on a SO answer and tried several variations, including |
+1 |
+1 same here. I must kill intelij on windows... |
To temporary workaround this issue you can remove line 382 from |
If the above doesn't work the following can be tried. lsof -n -i4TCP:4200 This works for me..... |
|
fwiw ... #9668 refers to this issue using |
@switch120 It should fix it without |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
Observed behavior
the ng process is still running
Desired behavior
The ng process should be stopped.
It is stopped with v1.6.8 but not with v1.7.0
Mention any other details that might be useful (optional)
It happens also with node 8, with yarn or npm. The version of those did not change: only switching between v1.6.8 and v1.7.0 exhibits the problem.
When running
ng serve
by hand, surprisingly hitting ctrl+c does not stop the ng process, but you have to hit ctrl+c again for it to happen!The text was updated successfully, but these errors were encountered: