Gruntfile: limit jshint/jscs watch tasks to own files, not *.js
This commit is contained in:
@@ -183,11 +183,11 @@ module.exports = function(grunt) {
|
|||||||
tasks: ['copy_dist']
|
tasks: ['copy_dist']
|
||||||
},
|
},
|
||||||
scripts: {
|
scripts: {
|
||||||
files: ['<%= jshint.files %>', './js/**/*.js'],
|
files: ['<%= jshint.files %>'],
|
||||||
tasks: ['jshint']
|
tasks: ['jshint']
|
||||||
},
|
},
|
||||||
style: {
|
style: {
|
||||||
files: ['<%= jscs.all.src %>', './js/**/*.js'],
|
files: ['<%= jscs.all.src %>'],
|
||||||
tasks: ['jscs']
|
tasks: ['jscs']
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user