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

nodemon restarts server if file watchers it didn't create trigger #596

Closed
blitmap opened this issue Jul 27, 2015 · 2 comments
Closed

nodemon restarts server if file watchers it didn't create trigger #596

blitmap opened this issue Jul 27, 2015 · 2 comments

Comments

@blitmap
Copy link

blitmap commented Jul 27, 2015

Hi - I'm not sure if I'm doing something improperly.

My problem is this:

I have nodemon monitoring a coffeescript nodejs "server.coffee" - the server I wrote creates file watchers of its own to detect changes in the scripts it runs and serves the output from. nodemon restarts the server if the server's file watchers trigger.

This doesn't make sense to me - the server.coffee hasn't changed so nodemon shouldn't restart, but the scripts server.coffee is monitoring have. nodemon restarts the server if watchers it didn't create trigger.

Is this expected behavior?

PS: Sorry about the unnecessary title changes - I was trying to make this clearer

@blitmap blitmap changed the title nodemon restarts if any file watchers detect changes, not just on the script its monitoring nodemon restarts file watchers *it didn't create* trigger Jul 27, 2015
@blitmap blitmap changed the title nodemon restarts file watchers *it didn't create* trigger nodemon restarts server if file watchers it didn't create trigger Jul 27, 2015
@remy
Copy link
Owner

remy commented Aug 31, 2015

Please try the build here #625 and feedback against the issue #625.

@remy
Copy link
Owner

remy commented Sep 12, 2015

#625 closes and released in [email protected]

@remy remy closed this as completed Sep 12, 2015
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