0
我想讓yeoman再次在我的mac上運行。與1.0測試版我確實得到這個混亂的錯誤,即使我現在重新啓動我的Mac。在早期版本中,我會啓動yeoman服務器,然後按Ctrl + C來終止它。當我再次想要服務器的時候,我只會讓老人重新開始。我認爲問題是livereload沒有正確關閉(或仍在運行),但我不知道如何正確關閉它。使用yeoman 1.0b,咕嚕服務器的livereload功能不能正常工作
grunt start
.... some yeoman log ....
... Uhoh. Got error listen EADDRINUSE ...
Error: listen EADDRINUSE
at errnoException (net.js:884:11)
at Server._listen2 (net.js:1022:14)
at listen (net.js:1044:10)
at Server.listen (net.js:1110:5)
at Server.listen (/Users/theuser/web/2013/project/node_modules/grunt-contrib-livereload/node_modules/tiny-lr/lib/server.js:133:15)
at Object.startLRServer (/Users/theuser/web/2013/project/node_modules/grunt-contrib-livereload/lib/utils.js:22:11)
at Object.<anonymous> (/Users/theuser/web/2013/project/node_modules/grunt-contrib-livereload/tasks/livereload.js:44:20)
at Object.thisTask.fn (/Users/theuser/web/2013/project/node_modules/grunt/lib/grunt/task.js:78:16)
at Object.<anonymous> (/Users/theuser/web/2013/project/node_modules/grunt/lib/util/task.js:282:30)
at Task.runTaskFn (/Users/theuser/web/2013/project/node_modules/grunt/lib/util/task.js:235:24)
ps:我最終的目標是讓yeoman's運行sass 3.3預先運行sourcemap支持。我想你需要從gruntfile配置sass,但我也不知道如何去做。
任何幫助深表感謝!
https://github.com/yeoman/yeoman/issues/938 – xexe 2013-05-08 21:25:45