Skip to content
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 negative globs in the watch option #12

Open
aleclarson opened this issue Oct 21, 2024 · 0 comments
Open

Support negative globs in the watch option #12

aleclarson opened this issue Oct 21, 2024 · 0 comments
Labels
idea (not planned) This may or may not be implemented

Comments

@aleclarson
Copy link
Contributor

aleclarson commented Oct 21, 2024

When the watch option is an array, it tells the generator to rerun when a matching path within the root directory is touched. By including a negative glob, the caller can effectively tell the generator “but don't automatically watch these files”. Specifically, it's preventing files that match the normal globs in the array from being watched if they also match a negated glob in the array. It does not affect other file operations performed by the generator.

@aleclarson aleclarson added the idea (not planned) This may or may not be implemented label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea (not planned) This may or may not be implemented
Projects
None yet
Development

No branches or pull requests

1 participant