mirror of https://github.com/embarklabs/embark.git
avoid intercepting logs when using cmds that don't need plugins and the logger
This commit is contained in:
parent
38aca05e28
commit
68d4f5e2fa
|
@ -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});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue