File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,10 @@ async function runWebClient(args: Args): Promise<void> {
106
106
await spawnPromise ( "node" , [ inspectorClientPath , ...startArgs ] , {
107
107
signal : abort . signal ,
108
108
echoOutput : true ,
109
+ // pipe the stdout through here, prevents issues with buffering and
110
+ // dropping the end of console.out after 8192 chars due to node
111
+ // closing the stdout pipe before the output has finished flushing
112
+ stdio : "inherit" ,
109
113
} ) ;
110
114
} catch ( e ) {
111
115
if ( ! cancelled || process . env . DEBUG ) throw e ;
@@ -151,6 +155,10 @@ async function runCli(args: Args): Promise<void> {
151
155
env : { ...process . env , ...args . envArgs } ,
152
156
signal : abort . signal ,
153
157
echoOutput : true ,
158
+ // pipe the stdout through here, prevents issues with buffering and
159
+ // dropping the end of console.out after 8192 chars due to node
160
+ // closing the stdout pipe before the output has finished flushing
161
+ stdio : "inherit" ,
154
162
} ) ;
155
163
} catch ( e ) {
156
164
if ( ! cancelled || process . env . DEBUG ) {
You can’t perform that action at this time.
0 commit comments