Skip to content
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

Closed
jcw opened this issue Jul 11, 2013 · 3 comments
Closed

SIGINT not sent after restart? #191

jcw opened this issue Jul 11, 2013 · 3 comments

Comments

@jcw
Copy link

jcw commented Jul 11, 2013

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)

@remy
Copy link
Owner

remy commented Jan 14, 2014

Just trawling through old issues, do you know if this is still happening with nodemon @ 1.0.8 (current latest release)?

@jcw
Copy link
Author

jcw commented Jan 14, 2014

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.

@remy
Copy link
Owner

remy commented Jan 14, 2014

No problem. Cheers none the less.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants