Open CupOfTea696 opened 8 years ago
Allow to option to pass an array of tasks to run for option.atBegin. This way, certain tasks can be skipped when starting the watch task.
option.atBegin
Example config:
watch: { bower: { files: ['bower.json'], tasks: ['exec:bower_update'] }, npm: { files: ['package.json'], tasks: ['exec:npm_update'] }, js: { files: ['Gruntfile.js', 'jscs.json', 'src/**/*.js', '!src/js/vendor.js'], tasks: ['jshint', 'jscs', 'browserify', 'concat:build', 'uglify:build', 'string-replace:build', 'notify:concat'] }, options: { atBegin: ['js'], spawn: false }, },
Allow to option to pass an array of tasks to run for
option.atBegin
. This way, certain tasks can be skipped when starting the watch task.Example config: