diff --git a/lib/index.js b/lib/index.js index 60e352b93..1ed62bfc9 100644 --- a/lib/index.js +++ b/lib/index.js @@ -222,6 +222,7 @@ class Embark { engine.logger.debug(err.stack); } + // TODO: this should be moved out and determined somewhere else if (canExit || !engine.config.contractsConfig.afterDeploy || !engine.config.contractsConfig.afterDeploy.length) { process.exit(); }