Grunt问题收集

最近开始基础自动化代码管理这块,想到在博客园还有个账户,就过来记点东西,方便以后查阅参考。

问题及解决办法会不定时更新,有待解决的问题也会放在这里,有知道的朋友还望赐教一二。

 

Grunt 插件问题

------------------------------------------------------

【已解决】问题:grunt concat命令报错,错误内容为“warning: Recursive process.nextTick detected. This will break in the next...”

解决方法:讲gruntfile.js中的grunt.registerTask("concat",['concat']);改为grunt.registerTask("add",['concat']);

原因:貌似是grunt注册 单任务的一个bug,所以其他插件也有这个问题;

参考:

grunt throw “Recursive process.nextTick detected”

------------------------------------------------------

posted @ 2015-01-10 00:54  blanky01  阅读(151)  评论(0)    收藏  举报