jashkenas/coffee-script — Issue #2043: Error: watch EMFILE 
Author: coreyrecvlohe
Created: 2012-01-15 22:12:54+00:00
State: open

Installed a fresh copy of Ubuntu 11.10 with node v0.7.0-pre, and am experiencing a new kind of error, namely this one:

user@tester:/var/www/zappa-fetch# coffee -c -o js -w coffee
21:57:25 - compiled coffee/app.coffee
21:58:27 - compiled coffee/app_safe_save_135827.coffee

/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:287
if (e.code !== 'ENOENT') throw e;
^
Error: watch EMFILE
at errnoException (fs.js:675:11)
at FSWatcher.start (fs.js:702:11)
at Object.watch (fs.js:730:11)
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:256:27
at Object.oncomplete (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:85:25)

Could it be an environmental setup issue? Never seen anything like this before. It also leaves a app_safe_save_135827.js in my JS dir as well.