Skip to content

Commit

Permalink
Changed inherit flag to set stderr as inherit instead of pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan Whitla authored and M-Zuber committed Jul 30, 2021
1 parent 9e17145 commit 119316e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watch-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function startScript(script, pkg, processes, setMaxListeners, scriptsCount) {
var proc = processes[script] = spawn(nodemon, args, {
env: process.env,
cwd: pkgDir,
stdio: inherit === true ? ['pipe', 'inherit', 'pipe'] : 'pipe'
stdio: inherit === true ? ['pipe', 'inherit', 'inherit'] : 'pipe'
})
if (inherit === true) return;

Expand Down

0 comments on commit 119316e

Please sign in to comment.