How do you watch multiple files, but only run task on changed file, in Grunt.js?

前端 未结 7 1847
盖世英雄少女心
盖世英雄少女心 2020-12-01 00:12

In learning how to use grunt, I am trying to make a simple coffee-script watcher/compiler. The problem is, if I tell the watch task to watch several files, and

7条回答
  •  一生所求
    2020-12-01 00:45

    None of these answers worked very well for me. Here is my solution if anyone is interested (I know I'm a little late in replying to this question).

    https://gist.github.com/ryansmith94/8569178

提交回复
热议问题