"dev" is a short task list that's optimized for grunt watch's high run rate frequency
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
},
watch: {
files: [ "<config:lint.files>", "src/**/*.js" ],
- tasks: "default"
+ tasks: "dev"
},
jshint: {
options: {
// Default grunt.
grunt.registerTask( "default", "submodules selector build:*:* dist:* lint min compare_size" );
+ // Short list as a high frequency watch task
+ grunt.registerTask( "dev", "selector build:*:* lint" );
+
+ // Load the "compare_size" task from NPM packages
grunt.loadNpmTasks("grunt-compare-size");
grunt.registerTask( "testswarm", function( commit, configFile ) {