gaze
regarde: {
html: {
files: '**/*.html',
tasks: ['rev', 'jshint'],
spawn: false, // default -- do not spawn sub-process for tasks
},
css: {
files: '**/*.scss',
events: true // do not launch tasks, send events
}
}
- 1st example (
regarde:html
) will launch the tasks when file are modified, without spawning a sub-process - 2nd example (
regarde:css
) will not call any tasks, but instead send events with the list of modified files (file:changed
,file:added
,file:deleted
)