Cloud 9 and Grunt.js

回眸只為那壹抹淺笑 提交于 2019-12-23 03:24:51

问题


I'm running grunt.js on Cloud9. Most everything is working correctly, except when I try to set this option:

'watch: {
    options: {livereload:true},'

If I add that, the terminal states: 'Fatal error: listen EACCES'

I'm guessing I need to use the sudo command to run that and since c9 doesn't let you run sudo, the command fails.

But why is livereload a feature that requires permission? And is there any way around it?

来源:https://stackoverflow.com/questions/19740450/cloud-9-and-grunt-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!