在命令行中自定义Grunt消息

时间:2016-04-21 09:46:10

标签: gruntjs

我正在使用Grunt主要用于Sass,当我收到错误消息时,我浪费了太多时间查看Grunt给我的所有文本,并试图找出问题所在。有没有办法摆脱所有不必要的线?

我只需要一条消息:

  • 成功/失败
  • 在8.7s完成
  • (如果有错误)哪个行导致问题

enter image description here

我通常有这个

   grunt.loadNpmTasks('grunt-contrib-compass');
   grunt.loadNpmTasks('grunt-contrib-watch');

0 个答案:

没有答案
相关问题