Answer the question
In order to leave comments, you need to log in
How can I compile only the modified file on Grunt, and not the entire bunch of files in the task?
Dear community, please tell me how to implement the compilation of only the modified file on Grunt, and not the entire bunch of files in the task. Those. I have a task:
coffee:
compile:
expand: true
cwd: 'app/js'
src: ['*.coffee','**/*.coffee']
dest: 'public/js'
ext: '.js'
watch:
coffee:
files: ['*.coffee','**/*.coffee']
tasks: ['coffee:compile']
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question