Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Error when ulimit is reached Mac #2

3rd-Eden opened this Issue Jul 25, 2012 · 0 comments


None yet
1 participant

3rd-Eden commented Jul 25, 2012

When you are watching huge folders, like a big ass node_modules folder you will probably hit the ulimit / inotify limit on mac osx.. We currently die hard when this happens.

    throw errnoException(errno, 'watch');
Error: watch EMFILE
    at errnoException (fs.js:806:11)
    at FSWatcher.start (fs.js:837:11)
    at Object.fs.watch (fs.js:861:11)
    at Notify.watch (/Users/V1/Projects/observing/square/node_modules/fs.notify/notify.js:93:42)
    at Array.forEach (native)
    at Notify.add (/Users/V1/Projects/observing/square/node_modules/fs.notify/notify.js:44:11)
    at _filter (/Users/V1/Projects/observing/square/node_modules/async/lib/async.js:236:13)
    at async.forEach (/Users/V1/Projects/observing/square/node_modules/async/lib/async.js:94:25)
    at _filter (/Users/V1/Projects/observing/square/node_modules/async/lib/async.js:233:17)
    at Object.fs.exists [as oncomplete] (fs.js:91:19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment