/lib/coffee-script/repl.js:27:28)at Interface.<anonymous> (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/repl.js:55:9)
at Interface.EventEmitter.emitcat
我正在做一个使用coffeescript进行开发和测试的项目。我在node中运行测试时启用了mocha的--watch标志,这样我就可以在进行更改时自动运行测试。这是我的目录结构:-- # Dev files go here-- # Test files go here
mocha watcher对/src和/test目录中的文件更改做出响应