From 18cbe63f4a9d8ebe0b4ad0c8a3f91ccf0f46d607 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 17 Apr 2014 05:45:21 +0200 Subject: [PATCH] grunt: Update watch file patterns * ".jscs.json" doesn't exist anymore (was renamed to ".jscsrc"). * ".csslintrc" doesn't exist. * Use "jscs.all" instead of jshint.all as the latter doesn't have the jshintignore pattern applied (no need to monitor the deep node_modules/ directory structure with lots of file stats) * Add "jsonlint.all". Change-Id: Ie9d681b7c4a6424c069f258774be46d44f6386e9 --- tests/frontend/Gruntfile.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/frontend/Gruntfile.js b/tests/frontend/Gruntfile.js index 30024690f3..f18903b80b 100644 --- a/tests/frontend/Gruntfile.js +++ b/tests/frontend/Gruntfile.js @@ -51,8 +51,10 @@ module.exports = function ( grunt ) { }, watch: { files: [ - '.{jshintrc,jscs.json,jshintignore,csslintrc}', - '<%= jshint.all %>' + '<%= jscs.all %>', + '<%= jsonlint.all %>', + '.jshintignore', + '.jshintrc' ], tasks: ['test'] } -- 2.20.1