-
Notifications
You must be signed in to change notification settings - Fork 135
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
Support shared inverse regexes #36
Comments
also got bit by this, im tempted to submit a pr for it. thanks for the workaround @dradtke |
There also does not appear to be an easy way to see how many files are being watched, and which files they are. It would be awesome to have a flag to have reflex log the watch list, as well as a way of knowing it's limits. |
@awildeep if you use the verbose flag (-v) it outputs files as they change to stdout. Example:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was running into a
too many open files
issue due to having a lot of stuff in my project'svendor/
folder, which was odd because my configuration specified--inverse-regex='^vendor/'
. After some investigation, I realized that Reflex only excludes files from its watcher as long as it knows that all of the specified configurations should ignore that regex; if any of them don't include it explicitly, then Reflex will still walk the tree just in case something needs it. Since I use Reflex for several different purposes, I had to add--inverse-regex='^vendor/'
to about 5 different lines before the issue went away, even though the rest of them include a more specific--regex
that would never match a vendored file anyway.A couple possible solutions are:
The text was updated successfully, but these errors were encountered: