Fixed small node env bug

canary
WolverinDEV 2020-06-15 16:55:47 +02:00
parent 32e1829bc8
commit c936a56aee
1 changed files with 2 additions and 1 deletions

View File

@ -585,7 +585,8 @@ namespace watcher {
return cp.spawn(cmd, args, {
cwd: __dirname,
stdio: "pipe",
detached: true
detached: true,
env: Object.assign({ NODE_ENV: "development" }, process.env)
});
}