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
On Linux, if node_modules gets a little bigger (which, of course, can happen quite easily), fractal start --watch throws an ENOSPC exception within chokidar:
Error: watch …/components ENOSPC
at exports._errnoException (util.js:1020:11)
at FSWatcher.start (fs.js:1443:19)
at Object.fs.watch (fs.js:1470:11)
at createFsWatchInstance (…/node_modules/chokidar/lib/nodefs-handler.js:37:15)
Turns out this is because Linux's inotify imposes a fairly strict limit on the number of files being monitored (see for example remy/nodemon#214 (comment)).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
On Linux, if
node_modules
gets a little bigger (which, of course, can happen quite easily),fractal start --watch
throws an ENOSPC exception within chokidar:Turns out this is because Linux's inotify imposes a fairly strict limit on the number of files being monitored (see for example remy/nodemon#214 (comment)).
FWIW, when we ran into this with faucet-pipeline, we resorted to catching this error and offering an option to limit watching to certain directories:
https://github.com/faucet-pipeline/nite-owl/blob/906f1173e5cf71ff5f4794add4ad60a21fd438e3/index.js#L29
https://github.com/faucet-pipeline/faucet-pipeline/blob/4d0a0ffe18f8545775264db551154a8a7ced44b1/lib/index.js#L54-L59
Perhaps Fractal could automatically exclude
node_modules
when invoking chokidar?The text was updated successfully, but these errors were encountered: