From d79cd463a05a4b5db0f44065882f415f9c6aa0a2 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Sat, 14 Nov 2020 14:09:24 +0000 Subject: [PATCH] Disable projects when flowFile passed into grunt dev Useful for quickly testing a standalone flow file --- Gruntfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Gruntfile.js b/Gruntfile.js index 49d2f154e..6272e9818 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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) {