chokidar icon indicating copy to clipboard operation
chokidar copied to clipboard

Glob wildcard (and all that follows) is being ignored when pnpm is used

Open aleclarson opened this issue 5 years ago • 0 comments

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:

  1. Clone this repro:

    git clone https://github.com/aleclarson/repro -b chokidar-1
    cd repro
    
  2. Ensure you have pnpm installed

    npm i -g pnpm
    
  3. Run ./repro.sh to install dependencies and run a test

  4. Expect to see only these logs:

    add: packages/test/package.json
    ready
    
  5. Run node test.js to try again

Expected behavior The /*/package.json part should not be ignored.

aleclarson avatar Jul 06 '20 14:07 aleclarson