-
Notifications
You must be signed in to change notification settings - Fork 154
-
Notifications
You must be signed in to change notification settings - Fork 154
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
[feature request] Option to disable recursive dir watch #227
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Yeah. This is needed if I have a dir with GBs of data files and some source files in project root that I want to pick up. For example
Note how the only performant way to do this (which is still not really performant) is to watchexec with In actual practice, this is perhaps a rare situation since any sane project layout would have the code under |
Fixes #227 Fixes #174 docs(cli): be more precise in print-events advice to use `-v` docs(cli): improve jaq error help feat(cli): add `-W` for non-recursive watches feat(cli): use non-blocking logging feat(globset): hide `fmt::Debug` spew from ignore crate feat(ignore-files): hide `fmt::Debug` spew from ignore crate feat(lib): make it possible to watch non-recursively fix(lib): inserting `WatchedPath`s directly should be possible refactor(lib): move `WatchedPath` out of `fs` mod
Released in 2.1.0 |
It would be handy to be able to avoid recursive watches on a directory.
Practical as we want to watch only for changes on a directory, but not subdirectories with a lot of GB of files.
Thank you for your great work.
The text was updated successfully, but these errors were encountered: