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' + ] } } },