summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarren Smith <garren.smith@gmail.com>2013-08-19 11:35:06 +0200
committerGarren Smith <garren.smith@gmail.com>2013-08-19 17:03:22 +0200
commit30280d622472f5bcb641502acf3d4ae0555cdae8 (patch)
treeb850b58778f85a6ee89762d72e5c1317e36c4a25
parent86455f3fca8ad6d6860ccaead50cae868b681a08 (diff)
downloadcouchdb-30280d622472f5bcb641502acf3d4ae0555cdae8.tar.gz
Fauxton: fix watch task failing for no include pattern
-rw-r--r--src/fauxton/Gruntfile.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js
index f25e3b8d1..1c58bb649 100644
--- a/src/fauxton/Gruntfile.js
+++ b/src/fauxton/Gruntfile.js
@@ -234,7 +234,9 @@ module.exports = function(grunt) {
tasks: ['clean:watch', 'dependencies','less', 'concat:index_css'],
},
html: {
- files: helper.watchFiles(['.html'], []),
+ // the index.html is added in as a dummy file incase there is no
+ // html dependancies this will break. So we need one include pattern
+ files: helper.watchFiles(['.html'], ['./index.html']),
tasks: ['clean:watch', 'dependencies']
},
options: {