4 ms·
I like parcel a lot, but one issue I've always had is that it watches your node_modules folder. The devs kind of pawned it off as a "feature not a bug"[1], but
by pull_my_finger 7y ago
I like parcel a lot, but one issue I've always had is that it watches your node_modules folder. The devs kind of pawned it off as a "feature not a bug"[1], but it results in tons of warnings etc related to watching too many files. I've since started using a symbolic link to the actual node_modules folder, but it's still just 1 extra hurdle that would be nice to not have.
[1]: https://github.com/parcel-bundler/parcel/issues/1557#issuecomment-397980426 https://github.com/parcel-bundler/parcel/issues/1557#issueco...
- eerrt 7y agoAfter a while, they switched to watching directories instead of files, which seems to solve the issue you describe of too many watched files. https://github.com/parcel-bundler/parcel/pull/1665 https://github.com/parcel-bundler/parcel/pull/1665
- devongovett 7y agoWe’ve actually rewritten our watcher for Parcel 2 as a cross platform C++ module and it should be much more efficient. :) http://github.com/parcel-bundler/watcher http://github.com/parcel-bundler/watcher
- jessaustin 7y agoHaha, Chokidar [0] strikes again! So much time could have been saved by so many devs on Linux if that package had saner defaults. More than one of my package.json .scripts objects have "sysctl fs.inotify.max_user_watches=32768" embedded somewhere... [0] https://www.npmjs.com/package/chokidar https://www.npmjs.com/package/chokidar