aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 72a407f9..72473b21 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -189,8 +189,11 @@ module.exports = function (grunt) {
189 }, 189 },
190 stylelint: { 190 stylelint: {
191 target: ['<%= appDir %>/themes/material/css/*.css', '<%= appDir %>/themes/baggy/css/*.css'] 191 target: ['<%= appDir %>/themes/material/css/*.css', '<%= appDir %>/themes/baggy/css/*.css']
192 },
193 watch: {
194 files: ['<%= appDir %>/**/*.css', '<%= appDir %>/**/*.js'],
195 tasks: ['css', 'js']
192 } 196 }
193
194 }); 197 });
195 198
196 grunt.registerTask( 199 grunt.registerTask(
@@ -221,5 +224,7 @@ module.exports = function (grunt) {
221 'tests', 224 'tests',
222 'Test css and js style conformity', 225 'Test css and js style conformity',
223 ['eslint', 'stylelint', 'default'] 226 ['eslint', 'stylelint', 'default']
224 ) 227 ),
228
229 grunt.loadNpmTasks('grunt-contrib-watch');
225}; 230};