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

pull/1/head
Scott Nonnenberg 7 years ago
parent 26f69b633a
commit e32dad2e9b
No known key found for this signature in database
GPG Key ID: 5F82280C35134661

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

Loading…
Cancel
Save