Gruntfile: limit jshint/jscs watch tasks to own files, not *.js

This commit is contained in:
Scott Nonnenberg 2018-03-21 18:10:43 -07:00
parent 26f69b633a
commit e32dad2e9b
No known key found for this signature in database
GPG Key ID: 5F82280C35134661
1 changed files with 2 additions and 2 deletions

View File

@ -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']
},
},