-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
Why watchFile on Linux? #50
Comments
I believe fs.watch is still unstable even though docs say otherwise. Reported bugs were not closed: https://github.com/joyent/node/search?q=fs.watch&ref=cmdform&type=Issues nodejs/node-v0.x-archive#3172 is a good example. If it was as reliable as watchFile, I’d switch to it, as I like performance. |
fixed. you can specify fs.watch now. |
taratatach
pushed a commit
to taratatach/chokidar
that referenced
this issue
Oct 2, 2023
taratatach
pushed a commit
to taratatach/chokidar
that referenced
this issue
Oct 2, 2023
Fix var scoping on proxy function (fixes paulmillr#50)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed that here https://github.com/paulmillr/chokidar/blob/master/src/index.coffee#L114 Chokidar decides to use
fs.watchFile
on Linux, and that one polls. I'm no expert on this, but I thoughtfs.watch
is stable on Linux.. any reason to not use it?The text was updated successfully, but these errors were encountered: