mirror of https://github.com/embarklabs/embark.git
added async simulator
This commit is contained in:
parent
7f0651d597
commit
604635f3e3
|
@ -11,7 +11,7 @@ Simulator.prototype.run = function(options) {
|
||||||
cmds.push("-h " + (this.blockchainConfig.rpcHost || options.host || 'localhost'));
|
cmds.push("-h " + (this.blockchainConfig.rpcHost || options.host || 'localhost'));
|
||||||
cmds.push("-a " + (options.num || 10));
|
cmds.push("-a " + (options.num || 10));
|
||||||
|
|
||||||
shelljs.exec('testrpc ' + cmds.join(' '));
|
shelljs.exec('testrpc ' + cmds.join(' '), {async : true});
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = Simulator;
|
module.exports = Simulator;
|
||||||
|
|
Loading…
Reference in New Issue