Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #316 from OpenBazaar/use-testnet
Browse files Browse the repository at this point in the history
starting the local server in testnet mode
  • Loading branch information
jjeffryes authored Jan 16, 2017
2 parents c870795 + a619aad commit f4ec4ad
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions js/utils/localServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ export default class LocalServer {
this.log('Starting local server.');
console.log('Starting local server.');

this.serverSubProcess = childProcess.spawn(this.serverPath + this.serverFilename, ['start'], {
detach: false,
cwd: this.serverPath,
});
this.serverSubProcess =
childProcess.spawn(this.serverPath + this.serverFilename, ['start', '-t'], {
detach: false,
cwd: this.serverPath,
});

this.serverSubProcess.stdout.once('data', () => this.trigger('start'));
this.serverSubProcess.stdout.on('data', buf => this.obServerLog(`${buf}`));
Expand Down

0 comments on commit f4ec4ad

Please sign in to comment.