Closed loganfsmyth closed 6 years ago
I made a reproduction repository in https://github.com/loganfsmyth/__gulp-watch-bug
Seems to be treating my touch packages/dep/package.json as if it were inside the main/node_modules folder instead for some reason.
touch packages/dep/package.json
main/node_modules
Here's the stuff dumped in the console:
Node.js version: v6.11.2 darwin x64 gulp-watch version: 4.3.11 Globs: "./packages/*/package.json" Filepath: /Users/<username>/projects/__gulp-watch-bug/packages/main/node_modules/dep/package.json Event: change Process CWD: /Users/<username>/projects/__gulp-watch-bug Options:
v6.11.2 darwin x64
4.3.11
"./packages/*/package.json"
/Users/<username>/projects/__gulp-watch-bug/packages/main/node_modules/dep/package.json
change
/Users/<username>/projects/__gulp-watch-bug
{ "events": [ "add", "change", "unlink" ], "ignoreInitial": true, "readDelay": 10 }
I made a reproduction repository in https://github.com/loganfsmyth/__gulp-watch-bug
Seems to be treating my
touch packages/dep/package.json
as if it were inside themain/node_modules
folder instead for some reason.Here's the stuff dumped in the console:
Node.js version:
v6.11.2 darwin x64
gulp-watch version:4.3.11
Globs:"./packages/*/package.json"
Filepath:/Users/<username>/projects/__gulp-watch-bug/packages/main/node_modules/dep/package.json
Event:change
Process CWD:/Users/<username>/projects/__gulp-watch-bug
Options: