-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Use a filewatcher library #10477
Comments
Comment by ficristo Or this https://github.com/amasad/sane that can use watchman under the hood but it's not necessary. |
Comment by petetnt Gaze is (yet another) option: https://github.com/shama/gaze (used by |
Comment by MiguelCastillo I haven't done much research on this in a few months, but this https://github.com/paulmillr/chokidar was the better library I have seen around. It is used by watchify (browserify's watching plugin). |
Comment by MiguelCastillo
|
Comment by MiguelCastillo
|
Comment by ficristo No, there aren't specific problems. |
Comment by MiguelCastillo
You mentioned a really key point. chokidar will recursively add watchers and brackets does not. This is concerning. :) Curious to know how does this works in Ubuntu... Have you tried it? |
Comment by ficristo No, I didn't. I'm not really Linux friendly... |
Comment by MiguelCastillo Let's continue further discussion in the actual PR adobe/brackets#12190 (comment). |
Comment by ficristo Another couple of interesting libs. |
Comment by ficristo This PR adobe/brackets#12647 is now using chokidar. |
Comment by ficristo Now that #12647 has merged we are using https://github.com/Microsoft/vscode-filewatcher-windows on Windows and https://github.com/paulmillr/chokidar on Linux and macOS. |
Issue by ficristo
Tuesday Feb 02, 2016 at 10:37 GMT
Originally opened as adobe/brackets#12187
Right now we use an outdated version of fsevents and fsevents_win to watch files.
I think using a library better maintained would be a nice alternative option.
I tried once to use chokidar but I've had some performance problem: maybe because it watches file recursively and Brackets doesn't. I don't know.
Another library could be https://github.com/facebook/watchman/tree/master/node
The text was updated successfully, but these errors were encountered: