mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-17 08:07:51 +00:00
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…
x
Reference in New Issue
Block a user