You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2013/09/09 11:53:30 UTC

[10/50] [abbrv] git commit: updated refs/heads/1867-feature-plugins to 8aad450

Fauxton: update watch file to run on addon html and less changes


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/89868bc1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/89868bc1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/89868bc1

Branch: refs/heads/1867-feature-plugins
Commit: 89868bc1b67dd017f543fda260e45e4b12975d2d
Parents: 8a7b9ca
Author: Garren Smith <ga...@gmail.com>
Authored: Thu Aug 15 10:46:14 2013 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Mon Sep 9 11:16:42 2013 +0200

----------------------------------------------------------------------
 src/fauxton/Gruntfile.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/89868bc1/src/fauxton/Gruntfile.js
----------------------------------------------------------------------
diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js
index 9cb7e2e..f25e3b8 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']);
     }