Skip to content

gulp.watch reports ignored files #2362

Closed

Description

@bjg2

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

Activity

  1. rgroothuijsen commented on Nov 11, 2019

    @rgroothuijsen

    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.

  2. ve3 commented on Jun 29, 2022

    @ve3
  3. pwall2222 commented on Jun 5, 2023

    @pwall2222

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions