diff --git a/lib/index.js b/lib/index.js index 66c792af..d3a913eb 100644 --- a/lib/index.js +++ b/lib/index.js @@ -219,6 +219,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(); }