From 7fffc442d41244b2baf8f2346ff3919990c517cf Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 25 Feb 2019 10:06:28 -0500 Subject: [PATCH] fix(build): start code-generator service even for contracts only --- packages/embark/src/cmd/cmd_controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/embark/src/cmd/cmd_controller.js b/packages/embark/src/cmd/cmd_controller.js index ff505f668..a80623b2b 100644 --- a/packages/embark/src/cmd/cmd_controller.js +++ b/packages/embark/src/cmd/cmd_controller.js @@ -218,11 +218,11 @@ class EmbarkController { engine.startService("libraryManager"); engine.startService("codeRunner"); engine.startService("pipeline"); + engine.startService("codeGenerator"); if (!options.onlyCompile) { engine.startService("web3"); engine.startService("deployment", {onlyCompile: options.onlyCompile}); engine.startService("storage"); - engine.startService("codeGenerator"); } else { engine.startService('compiler'); } @@ -295,7 +295,7 @@ class EmbarkController { engine.startService("codeGenerator"); engine.startService("codeRunner"); engine.startService("console"); - + if (isSecondaryProcess(engine)) { return callback(); }