Grunt Watch命令

时间:2014-01-11 21:15:45

标签: gruntjs

尝试使用Roots Bootstrap Starter模板设置Grunt - grunt的安装似乎完全正常 - 但是当我运行'grunt watch'并且去更改我的.less文件时终端没有任何事情发生并且grunt无法编译我的变化。这是安装>后的终端输出。正在运行的咕噜声>然后运行'grunt watch'。

Jeffs-MacBook-Air:roots-master jeffsee55$ grunt
Running "clean:dist" (clean) task
Cleaning assets/css/main.min.css...OK
Cleaning assets/js/scripts.min.js...OK

Running "less:dist" (less) task
File assets/css/main.min.css created.

Running "uglify:dist" (uglify) task
File "assets/js/scripts.min.js" created.

Running "version" task
Versioning assets/css/main.min.css...OK
Versioning assets/js/scripts.min.js...OK
"lib/scripts.php" updated with new CSS/JS versions.

Done, without errors.
Jeffs-MacBook-Air:roots-master jeffsee55$ grunt watch
Running "watch" task
Waiting...

正如我所说的,然后我去更改任何位于资产/更少的.less文件中的任何内容。有关故障排除的提示吗也许重新安装一切包括node.js?

0 个答案:

没有答案