运行咖啡时ENOSYS错误 - 手表

时间:2012-02-21 16:35:48

标签: join compilation coffeescript watch

当我删除“-w”时,这是有效的,但我希望它能够观察“js / coffee-src”的变化。有什么建议吗?

coffee -w --join js/dripped_coffee.js --compile js/coffee-src/*.coffee

错误讯息:

/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:227
     if (e.code !== 'ENOENT') throw e;
                                 ^
Error: watch ENOSYS
    at errnoException (fs.js:636:11)
    at FSWatcher.start (fs.js:663:11)
    at Object.watch (fs.js:691:11)
    at /usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:232:27
    at Object.oncomplete (/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:106:25)

感谢。

0 个答案:

没有答案