-
-
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
only restart once #951
Comments
Hi @huangyanxiong01, I'm having the same problem as you: when you watch a specific file, nodemon will only restart the app after the first file change. All changes made to the file after that don't trigger a restart. I believe the problem is actually this bug with the (I assume from your avatar that you are using linux, which appears to be where this bug occurs). The workaround from that bug would be to run your app like this Also could you change the name of this bug to |
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. |
* Add watcher to restart server when service worker changes * Update SW watcher to account for weird nodemon bug (remy/nodemon#951) Co-authored-by: Mark Brocato <[email protected]>
* Update example to use proxied next.js * Updated config * Updated package version * Use serverless offline for running prod builds locally * Update favicon * Updating react-storefront to avoid fetch failures (#19) * Add watcher to restart server when service worker changes (#18) * Add watcher to restart server when service worker changes * Update SW watcher to account for weird nodemon bug (remy/nodemon#951) Co-authored-by: Mark Brocato <[email protected]> * add caching * Revert routes * some cleanup Co-authored-by: kaarelkelk <[email protected]> Co-authored-by: Sigurður Gunnar Njálsson <[email protected]> Co-authored-by: Kevin Henderson <[email protected]>
I still experience this problem with nodemon 2.0.2; my current workaround is to use |
I have the exact same problem, also occurs with nodemon 3.0.1 as of July 2023. watch a single file, it only detects the first change. |
Can you raise a separate issue as what you're reporting is new. Can you also include pared down information on how to replicate. /cc @sinbino |
nodemon --harmony -w app.js app.js
The text was updated successfully, but these errors were encountered: