events.js:72
throw er; // Unhandled 'error' event
^
Error: watch ENOSPC
at errnoException (fs.js:1024:11)
at FSWatcher.start (fs.js:1056:11)
at Object.fs.watch (fs.js:1081:11)
at Gaze._watchDir (/home/xxx/xxx/tools/gulp/node_modules/browser-sync/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js:289:30)
Same problem :(
If on Ubuntu, running the following command might solve the problem:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Reference:
http://stackoverflow.com/questions/16748737/grunt-watch-error-waiting-fatal-error-watch-enospc
Yes @amoswachanga . I'm using this solution and work fine now. Thx!
Thanks for the fix @amoswachanga
Great it helped @mager and @AdsonCicilioti
:facepunch:
Most helpful comment
If on Ubuntu, running the following command might solve the problem:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Reference:
http://stackoverflow.com/questions/16748737/grunt-watch-error-waiting-fatal-error-watch-enospc