FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(react): fix stdin to unblock react-scripts>3.4.0 (#4609) · nickmcdev/ionic-cli@47631f5 · GitHub

Repository navigation

Commit 47631f5

Browse files
authored
fix(react): fix stdin to unblock react-scripts>3.4.0 (ionic-team#4609)
1 parent b92afc7 commit 47631f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/@ionic/cli/src/lib/serve.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ export abstract class ServeCLI<T extends ServeCLIOptions> extends EventEmitter {
493493
protected async spawn(options: T): Promise<void> {
494494
const args = await this.buildArgs(options);
495495
const env = await this.buildEnvVars(options);
496-
const p = await this.e.shell.spawn(this.resolvedProgram, args, { stdio: 'pipe', cwd: this.e.project.directory, env: createProcessEnv(env) });
496+
const p = await this.e.shell.spawn(this.resolvedProgram, args, { stdio: ['inherit', 'pipe', 'pipe'], cwd: this.e.project.directory, env: createProcessEnv(env) });
497497

498498
return new Promise<void>((resolve, reject) => {
499499
const errorHandler = (err: NodeJS.ErrnoException) => {

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL