-
Notifications
You must be signed in to change notification settings - Fork 181
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
error "ENOENT on dotfile" started happening in 0.8.2 #48
Comments
Same here, restarting watchify fixes it. |
+1 on this. restart does not fix anything for me. 0.10.5 node
I also tried using the |
@mreinstein can you update the issue title to reflect the issue. something like "ENOENT on dotfile" or similar |
I was seeing this issue as well and then realized it was because there was an old watchify process still running, which had somehow detached from the terminal's job control and seemed to be causing a race condition, trying to build the same bundle file. So I killed that process and then things worked fine. |
@clehner This is a likely explanation for my bug as I was indeed background |
Found this when searching for this bug, and I too had a background process still running that I wasn't aware of. Killed the process, bug went away. I think this issue can probably be closed since that solution seems to work well. |
+1 This is still happening for me with the current version of watchify. I'm guessing this has something to do with multiple files being modified in rapid succession (i.e. faster than watchify can update the bundle). This seems to happen eventually even when there are no other node/watchify processes around when I start watchify (and I don't manually start new ones). |
+1 |
2 similar comments
+1 |
+1 |
The fix was published as watchify@2.6.2 |
EDIT: with node v0.12 it is working. I was still on v0.10 I'm running 2.6.2 but still encountering this issue. Command:
Output:
|
@Gijsjan: Hmm I'm getting reports that it's fixed and I can't reproduce it anymore. Can you tell me what OS and editor you're using? Also, it would be very very helpful if you could give me a repo I could clone, or a full gist, to reproduce the problem. |
I have
Output:
Nor watchify, nor other packages were updated or changed. Node.js Restarting watchify fixes that, but every new change to file breaks it again. Mac OS X. |
Hmm, it turned out that the reason is just another |
I think if there could be a friendlier message for that case, that would be good. |
I'm getting ENOENT errors when changing watched files.
The text was updated successfully, but these errors were encountered: