我正在这样做——
$ coffee -c assets/js
将所有 .coffee 文件编译为该目录中的 .js 文件。但我不明白如何观看目录?
我试试这个但得到错误 -
$ coffee -wc assets/js
/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:287
if (e.code !== 'ENOENT') throw e;
^
Error: watch EMFILE
at errnoException (fs.js:648:11)
at FSWatcher.start (fs.js:676:11)
at Object.watch (fs.js:704:11)
at /usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:256:27
at Object.oncomplete (/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:85:25)
任何帮助将不胜感激!