rollup / rollup-watch

Fast incremental rebuilds with Rollup CLI
MIT License
91 stars 23 forks source link

Duplicate watchers on same file when linking. #32

Closed youzi closed 7 years ago

youzi commented 7 years ago

When we have:

files: dep-b project-a/node_modules/dep-b --> links to b project-a/node_modules/c/node_modules/dep-b --> links to b

rollup-watch adds creates 2 FileWatchers for dep-b

Rich-Harris commented 7 years ago

Presumably the answer to this would be to use fs.realpath

Rich-Harris commented 7 years ago

Fixed in 3.1.0