Fixed small node env bug
This commit is contained in:
parent
32e1829bc8
commit
c936a56aee
1 changed files with 2 additions and 1 deletions
3
file.ts
3
file.ts
|
@ -585,7 +585,8 @@ namespace watcher {
|
||||||
return cp.spawn(cmd, args, {
|
return cp.spawn(cmd, args, {
|
||||||
cwd: __dirname,
|
cwd: __dirname,
|
||||||
stdio: "pipe",
|
stdio: "pipe",
|
||||||
detached: true
|
detached: true,
|
||||||
|
env: Object.assign({ NODE_ENV: "development" }, process.env)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue