Is there an option to run a particular task after each watch run? e.g.
watch : {
js: {files:[], tasks:[]},
css: {files:[], tasks:[]},
}
I want to run task "foo" after both watch:js
and watch:css
, and I don't want to add that task to each and every watch multitasks tasks list, and I don't want to add a new watch task with all files from other tasks to be watched.
Is there a watch general options.afterEach
api or something?