Closed bpongy closed 9 years ago
Hey,
are you using grunt-contrib-watch
?
Because this should work out of the box.
Something like this should work.
watch: {
scripts: {
files: '**/*.css',
tasks: ['pleeease'],
options: {
interrupt: true,
},
},
},
Hi Daniel, thanx a lot for your quick answer. It works!!
Just one note, In the Gruntfile.js we can write:
pleeease: {
custom: {
options: {
config: '.pleeeaserc'
},
/* ... */
}
}
I think you have to put it in the doc. Thanx again!
Hi,
yep good idea, I will add it, thanks.
Hi, Is it possible to have an example with a watcher? For example it's really hard to write a Gruntfile with compass & watch. I tried to make something and I have this sort of message:
Thanx for your help.