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:
parent
4023ab3f28
commit
d79cd463a0
@ -24,6 +24,7 @@ module.exports = function(grunt) {
|
|||||||
var flowFile = grunt.option('flowFile');
|
var flowFile = grunt.option('flowFile');
|
||||||
if (flowFile) {
|
if (flowFile) {
|
||||||
nodemonArgs.push(flowFile);
|
nodemonArgs.push(flowFile);
|
||||||
|
process.env.NODE_RED_ENABLE_PROJECTS=false;
|
||||||
}
|
}
|
||||||
var userDir = grunt.option('userDir');
|
var userDir = grunt.option('userDir');
|
||||||
if (userDir) {
|
if (userDir) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user