avoid intercepting logs when using cmds that don't need plugins and the logger

This commit is contained in:
Iuri Matias 2017-02-18 09:23:19 -05:00
parent 38aca05e28
commit 68d4f5e2fa
1 changed files with 6 additions and 3 deletions

View File

@ -58,7 +58,8 @@ Cmd.prototype.build = function() {
.description('deploy and build dapp at dist/ (default: development)')
.action(function(env, options) {
self.Embark.initConfig(env || 'development', {
embarkConfig: 'embark.json'
embarkConfig: 'embark.json',
interceptLogs: false
});
self.Embark.build(env || 'development');
});
@ -96,7 +97,8 @@ Cmd.prototype.blockchain = function() {
.description('run blockchain server (default: development)')
.action(function(env ,options) {
self.Embark.initConfig(env || 'development', {
embarkConfig: 'embark.json'
embarkConfig: 'embark.json',
interceptLogs: false
});
self.Embark.blockchain(env || 'development', options.client || 'geth');
});
@ -112,7 +114,8 @@ Cmd.prototype.simulator = function() {
.option('-h, --host [host]', 'host to run the rpc simulator (default: localhost)')
.action(function(env, options) {
self.Embark.initConfig(env || 'development', {
embarkConfig: 'embark.json'
embarkConfig: 'embark.json',
interceptLogs: false
});
self.Embark.simulator({port: options.port, host: options.host});
});