-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
SIGINT not sent after restart? #191
Comments
Just trawling through old issues, do you know if this is still happening with nodemon @ 1.0.8 (current latest release)? |
I'm sorry, but I can't check it here, as I'm now using a self-forking supervisor process via the "cluster" package instead of nodemon. |
No problem. Cheers none the less. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whilre trying to make sure my app will run some cleanup code under all circumstances, I noticed an odd behaviour with nodemon:
When I launch nodemon and hit CTRL-C, my app gets a SIGINT, as expected.
When I launch and nodemon restarts my app (either a file change or typing "rs"), then the app gets a SIGUSR2 and is re-launched as expected, but if I then hit CTRL-C, nodemon will not send out a SIGINT.
It appears that SIGINT never gets sent out after nodemon-triggered restarts.
(Update: nodemon 0.7.8 on Mac OSX)
The text was updated successfully, but these errors were encountered: