grunt: Update watch file patterns
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 17 Apr 2014 03:45:21 +0000 (05:45 +0200)
committerKrinkle <krinklemail@gmail.com>
Thu, 17 Apr 2014 03:55:43 +0000 (03:55 +0000)
* ".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

index 3002469..f18903b 100644 (file)
@@ -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']
                }