File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 4040 "default" : false ,
4141 "description" : " Enable verbose logging"
4242 },
43+ "timeout" : {
44+ "type" : " number" ,
45+ "default" : -1 ,
46+ "description" : " Increase the default 90s timeout to connect to a device/simulator"
47+ },
4348 "release" : {
4449 "type" : " boolean" ,
4550 "default" : false ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export interface BuildExecutorSchema {
1111 emulator ?: boolean ;
1212 clean ?: boolean ;
1313 noHmr ?: boolean ;
14+ timeout ?: number ;
1415 uglify ?: boolean ;
1516 verbose ?: boolean ;
1617 release ?: boolean ;
@@ -169,6 +170,9 @@ export function commonExecutor(options: BuildExecutorSchema | TestExecutorSchema
169170 if ( options . noHmr ) {
170171 nsOptions . push ( '--no-hmr' ) ;
171172 }
173+ if ( options . timeout && options . timeout > - 1 ) {
174+ nsOptions . push ( `--timeout=${ options . timeout } ` ) ;
175+ }
172176 if ( options . uglify ) {
173177 nsOptions . push ( '--env.uglify' ) ;
174178 }
You can’t perform that action at this time.
0 commit comments