运行咖啡时出现 ENOSYS 错误 --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)
谢谢。
this works when I remove the " -w" but I want it to watch the "js/coffee-src" for changes. Any advice?
coffee -w --join js/dripped_coffee.js --compile js/coffee-src/*.coffee
Error Message:
/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)
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论