Disable projects when flowFile passed into grunt dev

Useful for quickly testing a standalone flow file
This commit is contained in:
Nick O'Leary 2020-11-14 14:09:24 +00:00
parent 4023ab3f28
commit d79cd463a0
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ module.exports = function(grunt) {
var flowFile = grunt.option('flowFile');
if (flowFile) {
nodemonArgs.push(flowFile);
process.env.NODE_RED_ENABLE_PROJECTS=false;
}
var userDir = grunt.option('userDir');
if (userDir) {