Skip to content

am-creations/parcel-issue-4332-symlink-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

parcel-issue-4332-symlink-watch

Minimal repro repository for parcel-bundler/parcel#4332

How to reproduce

NPM install both root and local NPM library

cd src 
npm install

cd ../vendor/myLib
npm install

Run watch on both root and local NPM library on separate shells

cd src 
npm run watch
cd ../vendor/myLib
npm run my.lib.watch
  • Apply changes to the code inside the library (src/index.ts)
  • Observe the lack of change notification in the first watch, even when stopping+restart the watc

Notes

The issue is the same when using "local" NPM dependencies like this :

{
  "dependencies": {
    "@my/lib": "file:../vendor/myLib"
  }
}