Merge pull request #557 from embark-framework/bug_fix/hanging-graph

Fix hanging embark graph by starting web3 service
This commit is contained in:
Iuri Matias 2018-06-19 11:38:21 -04:00 committed by GitHub
commit d2489f0da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,8 +239,7 @@ class Embark {
}); });
engine.init(); engine.init();
async.parallel([ async.waterfall([
function (callback) { function (callback) {
let pluginList = engine.plugins.listPlugins(); let pluginList = engine.plugins.listPlugins();
if (pluginList.length > 0) { if (pluginList.length > 0) {
@ -251,14 +250,12 @@ class Embark {
engine.startService("libraryManager"); engine.startService("libraryManager");
engine.startService("pipeline"); engine.startService("pipeline");
engine.startService("deployment", {onlyCompile: true}); engine.startService("deployment", {onlyCompile: true});
engine.startService("web3");
engine.startService("codeGenerator"); engine.startService("codeGenerator");
engine.events.request('deploy:contracts', function(err) { engine.events.request('deploy:contracts', callback);
callback(err);
});
} }
], (err, _result) => { ], (err) => {
if (err) { if (err) {
engine.logger.error(err.message); engine.logger.error(err.message);
engine.logger.info(err.stack); engine.logger.info(err.stack);