-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Port listening doesn't stop when using CTRL+C
#781
Comments
Ouch, we should make |
@antongolub my platform is |
Well, the only purpose for setting @antonmedv, what do you think? |
I did not get this. We want to make detached=true by default? |
v7 uses |
Yes, I don't think we should detach process.
What corner case? |
Technically, detached + abort() kills the starter process (bash) only. |
Hi there, I've got the same issue. What do I need to do in v8 to make |
Could you check the fix proposal? npm i zx@8.0.1-dev.b52bcd9 |
Works like a charm on my side. Thank you! 🍺 |
@antonmedv same, works fine, thanks! |
Expected Behavior
Running and stopping server with
CTRL+C
should stop server from listening on port.Actual Behavior
Running and stopping server with
CTRL+C
doesn't stop server from listening on port.Steps to Reproduce the Problem
Running this command
node ./server.js
manually 2 times works fine, doing the same usingzx ./scripts/dev.js
fails second time with error about port which server is listening is already in use.This started to happen after update to v8.
Does anything changed and I need somehow manually kill a process?
Specifications
The text was updated successfully, but these errors were encountered: