remy / nodemon

Monitor for any changes in your node.js application and automatically restart the server - perfect for development
http://nodemon.io/
MIT License
26.31k stars 1.73k forks source link

Not restarting after file creation in watch directory #2074

Closed aboe026 closed 1 year ago

aboe026 commented 2 years ago

Expected behaviour

Nodemon should restart when a file is created in the watch directory

Actual behaviour

Nodemong does not restart when files are created in the watch directory

Steps to reproduce

See this minimum reproduceable scenario repository: https://github.com/aboe026/nodemon-file-creation-restart


If applicable, please append the --dump flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up. Thank you for contributing <3

aboe026 commented 1 year ago

This problem is still persisting

github-actions[bot] commented 1 year ago

This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up. Thank you for contributing <3

remy commented 1 year ago

It doesn't look like anyone in the community wants to pick this up, and I'm not particularly into it as a feature.

I'll try to get around to adding it to the docs (though I have a feeling you can pass chokidar config, which might work as work around - feel free to check the config too) 👍