From 0804074fdf757fb01d5c2cddda5fdb165bf00dc4 Mon Sep 17 00:00:00 2001 From: David Rogers Date: Fri, 6 Jun 2014 16:50:27 +0000 Subject: [PATCH] Make `grunt watch:js` include `assets/js/plugins/**/*.js` If I add JavaScript packages to my `assets/js/plugins/` directory, they must be concatenated, uglified, and added to `scripts.js` to be used in my theme. The `watch:js` task should also note changes to those files and directories. --- Gruntfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Gruntfile.js b/Gruntfile.js index fb7098e..4d1d5a2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -131,6 +131,7 @@ module.exports = function(grunt) { }, js: { files: [ + jsFileList, '<%= jshint.all %>' ], tasks: ['jshint', 'concat']