From e32dad2e9b8cc4da1a87da7714d774fa9ab6b715 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 21 Mar 2018 18:10:43 -0700 Subject: [PATCH] Gruntfile: limit jshint/jscs watch tasks to own files, not *.js --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 5cc6fc9e2..8bf96627f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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'] }, },