diff options
author | Garren Smith <garren.smith@gmail.com> | 2013-08-15 10:46:14 +0200 |
---|---|---|
committer | Garren Smith <garren.smith@gmail.com> | 2013-08-15 10:46:14 +0200 |
commit | 33d948f2a99f75b0c049b9a8a665379f018a0652 (patch) | |
tree | 022ca2b730c34cbd389d68142548c9d7eb1a0291 | |
parent | 4f9a98bdcf8434000379b28166ffeb770ccb5953 (diff) | |
download | couchdb-33d948f2a99f75b0c049b9a8a665379f018a0652.tar.gz |
Fauxton: update watch file to run on addon html and less changes
-rw-r--r-- | src/fauxton/Gruntfile.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js index 9cb7e2ed3..f25e3b8d1 100644 --- a/src/fauxton/Gruntfile.js +++ b/src/fauxton/Gruntfile.js @@ -231,7 +231,11 @@ module.exports = function(grunt) { }, style: { files: helper.watchFiles(['.less','.css'],["./app/**/*.css","./app/**/*.less","./assets/**/*.css", "./assets/**/*.less"]), - tasks: ['less', 'concat:index_css'], + tasks: ['clean:watch', 'dependencies','less', 'concat:index_css'], + }, + html: { + files: helper.watchFiles(['.html'], []), + tasks: ['clean:watch', 'dependencies'] }, options: { nospawn: true, @@ -328,7 +332,6 @@ module.exports = function(grunt) { grunt.config(['jshint', 'all'], filepath); } - console.log(filepath); if (!!filepath.match(/[Ss]pec.js$/)) { grunt.task.run(['mochaSetup','mocha_phantomjs']); } |