You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We proxy directly to the watch libraries and don't plan to add functionality like this to the intermediate library. Please open with chokidar (as we have removed gaze in the next version).
This tracker is for bug reports only.
Before opening an issue, please make sure you've checked the following:
For support requests, please use Stack Overflow (stackoverflow.com) or Gitter (see the README).
If the bug is in a plugin, open an issue on the plugin repository, not the gulp repository.
If you're getting a deprecated module warning, don't worry about it: we're aware of it and it's not an issue. To make it go away, update to Gulp 4.0.
If you're asking about the status of Gulp 4, please don't! You can see the remaining issues on the gulp4 label: https://github.com/gulpjs/gulp/issues?q=is%3Aissue+is%3Aopen+label%3Agulp4
What were you expecting to happen?
gulp.watch
negations should happen last, similarly to howgulp.src
andgulp.dest
work.What actually happened?
Negations happen in the order specified;
[ '!src/**/*.js', 'src/**/*' ]
ends up not ignoringsrc/script.js
assrc/**/*
overrode it.Please post a sample of your gulpfile (preferably reduced to just the bit that's not working)
You'll need to create at least 1 file in
src
for the watch to work, due to shama/gaze#177.Modifying (i.e. adding, removing, etc) any file with a
.js
extension insidesrc
logsnegation first
when it should log nothing at all.It looks like this is a known "feature" of
gaze
, which is a bit of a pain. The easiest fix would probably be to just sort the glob array like this:What version of gulp are you using?
What versions of npm and node are you using?
The text was updated successfully, but these errors were encountered: