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

gulp.watch reports ignored files #2362

Closed
bjg2 opened this issue Aug 8, 2019 · 3 comments · Fixed by #2758
Closed

gulp.watch reports ignored files #2362

bjg2 opened this issue Aug 8, 2019 · 3 comments · Fixed by #2758

Comments

@bjg2
Copy link

bjg2 commented Aug 8, 2019

What were you expecting to happen?
Not to get watch triggered on the files I ignored (I ignored "!other_project/node_modules/**/*" and I get triggered on "other_project/node_modules/.bin/uuid").

What actually happened?
Watch is getting triggered on change in "other_project/node_modules/.bin/uuid".

Please post a sample of your gulpfile (preferably reduced to just the bit that's not working)
There is whole repro here. Clone it, do npm install and node test.js.

What version of gulp are you using?
4.0.2

What versions of npm and node are you using?
npm 6.4.1
node 8.15.1
os is ubuntu 18.04.3 LTS

@rgroothuijsen
Copy link

By default, Gulp's micromatch matcher ignores dotfiles, and your path includes /.bin. Not sure if it's possible to disable that behavior from Gulp, though.

@ve3

This comment was marked as duplicate.

@pwall2222
Copy link

This issue gets fixed by glob-watcher version 6, per my testing. So it will probably be fixed without work/at v5 release.

@phated phated moved this from To do to In progress in v5 Jun 5, 2023
v5 automation moved this from In progress to Done Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v5
  
Done
Development

Successfully merging a pull request may close this issue.

5 participants