Add --safe mode flag to allow starting without flows running

This commit is contained in:
Nick O'Leary
2018-09-25 11:20:50 +01:00
parent fba339f666
commit d887ab126b
6 changed files with 41 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ var api = module.exports = {
var apiPromise;
if (deploymentType === 'reload') {
apiPromise = runtime.nodes.loadFlows();
apiPromise = runtime.nodes.loadFlows(true);
} else {
if (flows.hasOwnProperty('rev')) {
var currentVersion = runtime.nodes.getFlows().rev;