1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

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) {