Filewatcher watches node_modules and other directories it doesn't need to · Issue #178 · evaera/moonwave · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To have it ignore other modules that aren't needed to be watched, otherwise you can get an error like this
node:internal/fs/watchers:207
const error = new UVException({
^
Error: EMFILE: too many open files, watch
at FSWatcher._handle.onchange (node:internal/fs/watchers:207:21)
Emitted 'error' event on FSWatcher instance at:
The text was updated successfully, but these errors were encountered:
prepareProject.js returns an array of paths to watch, we use them to filter out the paths in the fs on event, but I think we could just watch those paths instead of the project directory. I'll take a look into this, thanks!
Need to add this line to the dev.ts
To have it ignore other modules that aren't needed to be watched, otherwise you can get an error like this
The text was updated successfully, but these errors were encountered: