File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,17 +248,18 @@ function runwatching() {
248248 } , function ( ) {
249249
250250 isLoaded = true ;
251- setTimeout ( refresh_directory , speed ) ;
252251
253252 if ( status !== 1 || ! force ) {
254253 if ( counter % 150 === 0 )
255254 speed = 6000 ;
255+ setTimeout ( refresh_directory , speed ) ;
256256 return ;
257257 }
258258
259259 restart ( ) ;
260260 counter = 0 ;
261261 speed = SPEED ;
262+ setTimeout ( refresh_directory , speed ) ;
262263
263264 var length = changes . length ;
264265 for ( var i = 0 ; i < length ; i ++ )
@@ -385,7 +386,7 @@ function runwatching() {
385386 process . exit ( 0 ) ;
386387 } ) ;
387388
388- } , 2000 ) ;
389+ } , 3000 ) ;
389390 }
390391
391392 restart ( ) ;
@@ -395,7 +396,7 @@ function runwatching() {
395396 var filename = Path . join ( directory , 'debug.pid' ) ;
396397 if ( Fs . existsSync ( filename ) ) {
397398 Fs . unlinkSync ( filename ) ;
398- setTimeout ( app , 2500 ) ;
399+ setTimeout ( app , 3500 ) ;
399400 } else
400401 app ( ) ;
401402}
You can’t perform that action at this time.
0 commit comments