Skip to content
This repository was archived by the owner on Sep 12, 2019. It is now read-only.

Commit f6118eb

Browse files
committed
ChildProcess: Inherit stdin
1 parent bd6f53b commit f6118eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/dev/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ function startDevServer(settings, log) {
158158
const args =
159159
settings.command === "npm" ? ["run", ...settings.args] : settings.args;
160160
const ps = execa(settings.command, args, {
161-
env: settings.env
161+
env: settings.env,
162+
stdio: ["inherit", "pipe", "pipe"]
162163
});
163164
ps.stdout.on("data", function(buffer) {
164165
process.stdout.write(buffer.toString("utf8"));

0 commit comments

Comments
 (0)