-
-
Notifications
You must be signed in to change notification settings - Fork 578
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
ENOENT: no such file or directory - version 1.6.0 on CentOS 6.5 #514
Comments
The error tells you it's happening at some point where chokidar attempts to call Adding a listener to the
Why do that instead of adding a listener to the |
I was just grasping at straws to try to figure out what is going on, so that is the reason for the logging in handle error. My use case is that karma remap instanbul is using this project and adds a listener to the add event. In OS X the add event is emitted, and on Cent OS not. I will keep digging to see what I can find. |
Here is the way that karma-remap-istanbul is using chokidar:
This is actually using chokidar 1.5.x, but even when I pushed karma-remap-istanbul to version 1.6.0, I had the same issue. Anyhow, on OS X this is working fine. On CentOS however, it is timing out and displays the message 'Could not find any specified files, exiting without doing anything.' The interesting thing is that when you look at the timestamp of the file it is watching for, it IS created before the timestamp of the log.warn. I don't want to rule out yet that the issue could be with karma-remap-istanbul, but it seems unlikely. I have tried this on two different CentOS 6.5 boxes and got the same result on both of them. Thoughts? |
The impression I get is that between the use of Unless this can be boiled down to a much simpler reproducible case it looks like more of an implementation problem than an indication of a bug/issue in chokidar. As you learn more I'll keep trying to give advice if I can, but going to close the issue for now. |
I also tried changing his |
I don't know nearly enough about the use case to make a recommendation. |
All of the unit tests pass on CentOS, FYI. |
I am having problems (files not getting processed) with version 1.6.0 on CentOS 6.5. I added some logging to FSWatcher._handleError to try to see what is happening, and I that is when I got this:
ENOENT: no such file or directory, stat 'my/file/foo.bar'
I do not have any issues at all on OS X. Everything works fine, but when executing the same code on CentOS, the above error.
I am still trying to track down exactly the place where the error is emitted. So, any suggestions to help speed up this process would be a big help.
The text was updated successfully, but these errors were encountered: