File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ const initialOptions: Config.InitialOptions = {
187187 ] ,
188188 ] ,
189189 watchman : true ,
190+ workerIdleMemoryLimit : multipleValidOptions ( 0.2 , '50%' ) ,
190191} ;
191192
192193export default initialOptions ;
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ export type InitialOptions = Partial<{
327327 watchAll : boolean ;
328328 watchman : boolean ;
329329 watchPlugins : Array < string | [ string , Record < string , unknown > ] > ;
330- workerIdleMemoryLimit : number ;
330+ workerIdleMemoryLimit : number | string ;
331331} > ;
332332
333333export type SnapshotUpdateState = 'all' | 'new' | 'none' ;
@@ -574,6 +574,6 @@ export type Argv = Arguments<
574574 watchAll : boolean ;
575575 watchman : boolean ;
576576 watchPathIgnorePatterns : Array < string > ;
577- workerIdleMemoryLimit : number ;
577+ workerIdleMemoryLimit : number | string ;
578578 } >
579579> ;
You can’t perform that action at this time.
0 commit comments