Merge pull request #819 from embark-framework/features/contarct-option-no-ipfs

Do not start storage and code_generator on --contracts
This commit is contained in:
Iuri Matias 2018-09-12 18:44:33 -04:00 committed by GitHub
commit f270002c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -205,8 +205,10 @@ class EmbarkController {
engine.startService("pipeline"); engine.startService("pipeline");
} }
engine.startService("deployment", {onlyCompile: options.onlyCompile}); engine.startService("deployment", {onlyCompile: options.onlyCompile});
if (!options.onlyCompile) {
engine.startService("storage"); engine.startService("storage");
engine.startService("codeGenerator"); engine.startService("codeGenerator");
}
callback(); callback();
}, },