mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-09 13:36:14 +00:00
propagate env
This commit is contained in:
parent
fb77870f88
commit
7acf32287d
@ -15,6 +15,7 @@ class ProcessLauncher {
|
||||
* @return {ProcessLauncher} The ProcessLauncher instance
|
||||
*/
|
||||
constructor(options) {
|
||||
this.env = options.env;
|
||||
this.name = path.basename(options.modulePath);
|
||||
|
||||
if (this._isDebug()) {
|
||||
|
@ -17,6 +17,7 @@ class ProcessWrapper {
|
||||
constructor(options = {}) {
|
||||
this.options = Object.assign({pingParent: true}, options);
|
||||
this.interceptLogs();
|
||||
this.env = _options ? _options.env : 'development';
|
||||
this.events = new Events();
|
||||
if(this.options.pingParent) {
|
||||
this.pingParent();
|
||||
|
Loading…
x
Reference in New Issue
Block a user