-
Notifications
You must be signed in to change notification settings - Fork 66
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
Not-globs seem to match everything. #67
Comments
I like the described behavior, are there any existing node libs providing the set like behavior with globs? |
This is how gulp.src behaves - negated globs are interpreted to be exclusions from any non-negated globs thus far in the array. |
was this ever resolved? |
There is a new |
problems is that I'm using gulp-sane-watch.. I'll have to wait for an integration of the latest master into that plugin. |
I have a glob list that looks like:
(angular templatecache, I don't want to template my index.html, just all the child html). The problem is this watcher actually fires on all file changes - I am 98% sure it's because the
!**/*index.html
matches almost all the files in my build tree (including .js files, .scss files, and so on). In other uses of arrays-of-minimatch, the notted conditions tend to be anded together with the regular conditions, like "match when (C1 or C2 or C3) AND (N4 and N5)" for something like ['C1', 'C2', 'C3', '!N4', '!N5'] if that makes sense.The text was updated successfully, but these errors were encountered: