From: Timo Tijhof Date: Thu, 17 Apr 2014 03:45:21 +0000 (+0200) Subject: grunt: Update watch file patterns X-Git-Tag: 1.31.0-rc.0~16186 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=18cbe63f4a9d8ebe0b4ad0c8a3f91ccf0f46d607;p=lhc%2Fweb%2Fwiklou.git 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 --- 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'] }