@@ -352,10 +352,8 @@ export const myappUnrelated2 = 10;
352
352
Before running Timeout callback :: count : 2
353
353
18 : timerToInvalidateFailedLookupResolutions
354
354
19 : timerToUpdateProgram
355
- After running Timeout callback :: count : 1
356
- 20 : timerToUpdateProgram
357
- Before running Timeout callback :: count : 1
358
- 20 : timerToUpdateProgram
355
+ After running Timeout callback :: count : 0
356
+ Before running Timeout callback :: count : 0
359
357
After running Timeout callback :: count : 0
360
358
Output ::
361
359
DirectoryWatcher :: Triggered with / u s e r / username/ projects / myproject / node_modules / @myapp / unrelated2 :: WatchInfo : / u s e r / username/ projects / myproject / node_modules 1 undefined Failed Lookup Locations
@@ -370,61 +368,10 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec
370
368
DirectoryWatcher :: Triggered with / user / username / projects / myproject / node_modules / @myapp / unrelated2 / index . d . ts :: WatchInfo : / u s e r / username/ projects / myproject 1 undefined Wild card directory
371
369
Scheduling update
372
370
Elapsed :: * ms DirectoryWatcher :: Triggered with / user / username / projects / myproject / node_modules / @myapp / unrelated2 / index . d . ts :: WatchInfo : / u s e r / username/ projects / myproject 1 undefined Wild card directory
373
- Scheduling update
374
371
Reloading new file names and options
375
372
Synchronizing program
376
- [ [ 90 m12 :00 :48 AM [ 0 m ] File change detected . Starting incremental compilation . . .
377
-
378
- CreatingProgramWith ::
379
- roots : [ "/user/username/projects/myproject/lib/app.ts" ]
380
- options : { "watch" :true , "project" :"/user/username/projects/myproject" , "traceResolution" :true , "extendedDiagnostics" :true , "configFilePath" :"/user/username/projects/myproject/tsconfig.json" }
381
- === = === = Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts' . = === = ===
382
- Module resolution kind is not specified , using 'Node10' .
383
- Loading module '@myapp/ts-types' from 'node_modules' folder , target file types : TypeScript , Declaration .
384
- Directory '/user/username/projects/myproject/lib/node_modules' does not exist , skipping all lookups in it .
385
- Scoped package detected , looking in 'myapp__ts-types'
386
- File '/user/username/projects/myproject/node_modules/@myapp/ts-types.ts' does not exist .
387
- File '/user/username/projects/myproject/node_modules/@myapp/ts-types.tsx' does not exist .
388
- File '/user/username/projects/myproject/node_modules/@myapp/ts-types.d.ts' does not exist .
389
- Directory '/user/username/projects/myproject/node_modules/@types' does not exist , skipping all lookups in it .
390
- Scoped package detected , looking in 'myapp__ts-types'
391
- Directory '/user/username/projects/node_modules' does not exist , skipping all lookups in it .
392
- Scoped package detected , looking in 'myapp__ts-types'
393
- Directory '/user/username/node_modules' does not exist , skipping all lookups in it .
394
- Scoped package detected , looking in 'myapp__ts-types'
395
- Directory '/user/node_modules' does not exist , skipping all lookups in it .
396
- Scoped package detected , looking in 'myapp__ts-types'
397
- Directory '/node_modules' does not exist , skipping all lookups in it .
398
- Scoped package detected , looking in 'myapp__ts-types'
399
- Loading module '@myapp/ts-types' from 'node_modules' folder , target file types : JavaScript .
400
- Directory '/user/username/projects/myproject/lib/node_modules' does not exist , skipping all lookups in it .
401
- File '/user/username/projects/myproject/node_modules/@myapp/ts-types.js' does not exist .
402
- File '/user/username/projects/myproject/node_modules/@myapp/ts-types.jsx' does not exist .
403
- Directory '/user/username/projects/node_modules' does not exist , skipping all lookups in it .
404
- Directory '/user/username/node_modules' does not exist , skipping all lookups in it .
405
- Directory '/user/node_modules' does not exist , skipping all lookups in it .
406
- Directory '/node_modules' does not exist , skipping all lookups in it .
407
- = === === = Module name '@myapp/ts-types' was not resolved . = === = ===
408
- [ 96 mlib / app . ts [ 0 m :[ 93 m1 [ 0 m :[ 93 m23 [ 0 m - [ 91 merror [ 0 m [ 90 m TS2307 : [ 0 mCannot find module '@myapp/ts-types' or its corresponding type declarations .
409
-
410
- [ 7 m1 [ 0 m import { myapp } from "@myapp/ts-types" ;
411
- [ 7 m [ 0 m [ 91 m ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [ 0 m
412
-
413
- [ [ 90 m12 :00 :49 AM [ 0 m ] Found 1 error . Watching for file changes .
414
-
415
373
416
374
417
- Program root files : [ "/user/username/projects/myproject/lib/app.ts" ]
418
- Program options : { "watch" :true , "project" :"/user/username/projects/myproject" , "traceResolution" :true , "extendedDiagnostics" :true , "configFilePath" :"/user/username/projects/myproject/tsconfig.json" }
419
- Program structureReused : SafeModules
420
- Program files ::
421
- / a / lib / lib . d . ts
422
- / user / username / projects / myproject / lib / app . ts
423
-
424
- Semantic diagnostics in builder refreshed for ::
425
-
426
- No shapes updated in the builder ::
427
-
428
375
exitCode :: ExitStatus . undefined
429
376
430
377
@@ -436,12 +383,12 @@ export const myapp = 10;
436
383
437
384
438
385
Before running Timeout callback :: count : 2
439
- 23 : timerToInvalidateFailedLookupResolutions
440
- 24 : timerToUpdateProgram
386
+ 22 : timerToInvalidateFailedLookupResolutions
387
+ 23 : timerToUpdateProgram
441
388
After running Timeout callback :: count : 1
442
- 25 : timerToUpdateProgram
389
+ 24 : timerToUpdateProgram
443
390
Before running Timeout callback :: count : 1
444
- 25 : timerToUpdateProgram
391
+ 24 : timerToUpdateProgram
445
392
After running Timeout callback :: count : 0
446
393
Output ::
447
394
DirectoryWatcher :: Triggered with / user / username / projects / myproject / node_modules / @myapp / ts - types :: WatchInfo : / user / username / projects / myproject / node_modules 1 undefined Failed Lookup Locations
@@ -459,7 +406,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec
459
406
Scheduling update
460
407
Reloading new file names and options
461
408
Synchronizing program
462
- [ [ 90 m12 :00 :55 AM [ 0 m ] File change detected . Starting incremental compilation . . .
409
+ [ [ 90 m12 :00 :52 AM [ 0 m ] File change detected . Starting incremental compilation . . .
463
410
464
411
CreatingProgramWith ::
465
412
roots : [ "/user/username/projects/myproject/lib/app.ts" ]
@@ -481,7 +428,7 @@ Resolving real path for '/user/username/projects/myproject/node_modules/@myapp/t
481
428
FileWatcher :: Added :: WatchInfo : / user / username / projects / myproject / node_modules / @myapp / ts - types / index . d . ts 250 undefined Source file
482
429
DirectoryWatcher :: Close :: WatchInfo : / user / username / projects / node_modules 1 undefined Failed Lookup Locations
483
430
Elapsed :: * ms DirectoryWatcher :: Close :: WatchInfo : / user / username / projects / node_modules 1 undefined Failed Lookup Locations
484
- [ [ 90 m12 :00 :59 AM [ 0 m ] Found 0 errors . Watching for file changes .
431
+ [ [ 90 m12 :00 :56 AM [ 0 m ] Found 0 errors . Watching for file changes .
485
432
486
433
487
434
0 commit comments