-
-
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
Nodemon restarting twice for a single file change #854
Comments
So turns out after some investigation, the set of files/directories its watching is as follows
And making a change in Why is it that Fix was ofcourse to change |
I also notice that problem ! I was targeting two different extension (that should be possible) with @nixgadget I've tried your case and it cause twice restart here as well ! |
I started seeing this after upgrading to Node v7.7 from Node v6.9 |
nodemon: the delay option didn't work for me with delays shorter than 2s. it happens on both temporary fix: enable legacy file pooling $ nodemon -L index.js |
Any updates on this? Legacy file pooling definitely solves the problem, but a fix would be proper. |
Govind - can you point me to a PR that fixes this, and I'll merge.
…On Thu, 7 Sep 2017, 21:06 Govind Rai ***@***.***> wrote:
Any updates on this? Legacy file pooling definitely solves the problem,
but a fix would be proper.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#854 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAA1hJSDXSxKotIpFR1Vq62YF1H237Csks5sgEzIgaJpZM4I1wr0>
.
|
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. |
errr... so has a proper fix been implemented? or are we still relying on the -L flag? |
nevermind, lets just use the -L flag lol, it works fine without causing any other issues. |
why was this issue closed? The problem is still there. |
Read the comments. No one wanted to fix it, so it became idle and auto closed. |
Same issue here. Trying -L now |
aaaand it's still happening. the -L solves the problem, but someone maintaining the package should fix this. Otherwise what's even the point of the non-legacy watcher? |
"someone maintaining the package" - that's nearly 100% of the time just me. "still happening" isn't particularly useful anyone attempting to fix what you're seeing - not that I'm super pumped about the idea. But if you file a proper issue with details of what you see and how to replicate (with code) then you've got a greater chance of the root issue being resolved. |
Something is causing
nodemon
to restart twice for a single file change. I haven't quite investigated what it is but my guess is its an underlying library thatnodemon
uses.gulp-nodemon
as a wrapper but I cant see anything ingulp-nodemon
that would be triggering this.My initial thought it was either
fsevents
orchokidar
. Any ideas ?The text was updated successfully, but these errors were encountered: