@@ -71,6 +71,7 @@ function installDependencies(appDir: string, frameworkInfo: DesktopFrameworkInfo
71
71
return spawn ( execPath , execArgs , {
72
72
cwd : appDir ,
73
73
env : getGypEnv ( frameworkInfo , platform , arch , buildFromSource ) ,
74
+ stdio : [ "pipe" , process . stdout , process . stderr ]
74
75
} )
75
76
}
76
77
@@ -114,7 +115,11 @@ export async function rebuild(appDir: string, frameworkInfo: DesktopFrameworkInf
114
115
execArgs . push ( ...additionalArgs )
115
116
await BluebirdPromise . each ( nativeDeps , dep => {
116
117
log ( `Rebuilding native dependency ${ dep . name } ` )
117
- return spawn ( execPath , execArgs , { cwd : dep . path , env : env } )
118
+ return spawn ( execPath , execArgs , {
119
+ cwd : dep . path ,
120
+ env : env ,
121
+ stdio : [ "pipe" , process . stdout , process . stderr ]
122
+ } )
118
123
. catch ( error => {
119
124
if ( dep . optional ) {
120
125
warn ( `Cannot build optional native dep ${ dep . name } ` )
@@ -129,6 +134,10 @@ export async function rebuild(appDir: string, frameworkInfo: DesktopFrameworkInf
129
134
execArgs . push ( "rebuild" )
130
135
execArgs . push ( ...additionalArgs )
131
136
execArgs . push ( ...nativeDeps . map ( it => it . name ) )
132
- await spawn ( execPath , execArgs , { cwd : appDir , env : env } )
137
+ await spawn ( execPath , execArgs , {
138
+ cwd : appDir ,
139
+ env : env ,
140
+ stdio : [ "pipe" , process . stdout , process . stderr ]
141
+ } )
133
142
}
134
143
}
0 commit comments