mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
fix: support windows by using path.delimiter
This commit is contained in:
committed by
Remy Sharp
parent
9d1afd7694
commit
e26aaa97d9
@@ -64,7 +64,7 @@ function run(options) {
|
||||
|
||||
const spawnOptions = {
|
||||
env: Object.assign({}, process.env, options.execOptions.env, {
|
||||
PATH: binPath + ':' + process.env.PATH,
|
||||
PATH: binPath + path.delimiter + process.env.PATH,
|
||||
}),
|
||||
stdio: stdio,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user