move watch files to settings.json
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/f4b27ceb Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/f4b27ceb Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/f4b27ceb Branch: refs/heads/1828-duplicate-doc Commit: f4b27ceb4e2c496f74c0347e224520397b4659b5 Parents: 8d7ab8b Author: Garren Smith <[email protected]> Authored: Thu Jun 27 16:23:28 2013 +0200 Committer: Garren Smith <[email protected]> Committed: Thu Jun 27 16:23:28 2013 +0200 ---------------------------------------------------------------------- src/fauxton/Gruntfile.js | 2 +- src/fauxton/settings.json.default | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/f4b27ceb/src/fauxton/Gruntfile.js ---------------------------------------------------------------------- diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js index b76ae24..35a2c67 100644 --- a/src/fauxton/Gruntfile.js +++ b/src/fauxton/Gruntfile.js @@ -206,7 +206,7 @@ module.exports = function(grunt) { }, watch: { - files: './app/**/*', + files: helper.readSettingsFile().watch.files, tasks: ['debug', 'template'] }, http://git-wip-us.apache.org/repos/asf/couchdb/blob/f4b27ceb/src/fauxton/settings.json.default ---------------------------------------------------------------------- diff --git a/src/fauxton/settings.json.default b/src/fauxton/settings.json.default index 9716ceb..051e3fb 100644 --- a/src/fauxton/settings.json.default +++ b/src/fauxton/settings.json.default @@ -24,5 +24,9 @@ "okay_if_missing": true } } + }, + + "watch": { + "files": ["./app/**/*"] } }
