From 49d3a7190a36ae47fa29ff3b1d9c546a1cd75baf Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Thu, 9 Apr 2015 22:18:37 +0100 Subject: [PATCH] Update nodemonignore/watch rules --- .nodemonignore | 6 ++++-- Gruntfile.js | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.nodemonignore b/.nodemonignore index 94cf10992..6236c93db 100644 --- a/.nodemonignore +++ b/.nodemonignore @@ -1,4 +1,6 @@ -.git/* +/Gruntfile.js +/.git/* *.json -lib/* +/lib/* *.backup +/public/* diff --git a/Gruntfile.js b/Gruntfile.js index 311fc8d01..315d36cdb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -187,7 +187,10 @@ module.exports = function(grunt) { script: 'red.js', options: { args:['-v'], - ext: 'js,html' + ext: 'js,html', + watch: [ + 'red','nodes' + ] } } },