Gruntfile: limit jshint/jscs watch tasks to own files, not *.js
This commit is contained in:
parent
26f69b633a
commit
e32dad2e9b
1 changed files with 2 additions and 2 deletions
|
@ -183,11 +183,11 @@ module.exports = function(grunt) {
|
|||
tasks: ['copy_dist']
|
||||
},
|
||||
scripts: {
|
||||
files: ['<%= jshint.files %>', './js/**/*.js'],
|
||||
files: ['<%= jshint.files %>'],
|
||||
tasks: ['jshint']
|
||||
},
|
||||
style: {
|
||||
files: ['<%= jscs.all.src %>', './js/**/*.js'],
|
||||
files: ['<%= jscs.all.src %>'],
|
||||
tasks: ['jscs']
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue