chokidar
chokidar copied to clipboard
Glob wildcard (and all that follows) is being ignored when pnpm is used
Describe the bug
The glob packages/*/package.json has unexpected behavior, but only when pnpm is used.
Versions (please complete the following information):
- Chokidar version:
3.4.0 - Node version
12.13.0 - OS version:
macOS 10.14.5
To Reproduce:
-
Clone this repro:
git clone https://github.com/aleclarson/repro -b chokidar-1 cd repro -
Ensure you have pnpm installed
npm i -g pnpm -
Run
./repro.shto install dependencies and run a test -
Expect to see only these logs:
add: packages/test/package.json ready -
Run
node test.jsto try again
Expected behavior
The /*/package.json part should not be ignored.