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

Watched unexpected filepath #329

Open
olivierguerriat opened this issue Jul 9, 2019 · 0 comments
Open

Watched unexpected filepath #329

olivierguerriat opened this issue Jul 9, 2019 · 0 comments

Comments

@olivierguerriat
Copy link

gulp-watch is triggered by a file that should not match the glob pattern, leading to infinite loop. Is there a workaround?

The culprit seems to be that the _compiled folder is a symlink.


Node.js version: v10.16.0 darwin x64
gulp-watch version: 5.0.1
Globs: "./*/styles/**/*.scss"
Filepath: /Users/me/project/target/assets/_compiled/styles/main.css
Event: change
Process CWD: /Users/me/project/target/assets
Options:

{
  "events": [
    "add",
    "change",
    "unlink"
  ],
  "ignoreInitial": true,
  "readDelay": 10,
  "verbose": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant