@@ -20,6 +20,7 @@ Config: /user/username/projects/myproject/tsconfig.json : {
20
20
"options" : {
21
21
"module" : 2 ,
22
22
"composite" : true ,
23
+ "persistResolutions" : true ,
23
24
"traceResolution" : true ,
24
25
"configFilePath" : "/user/username/projects/myproject/tsconfig.json"
25
26
}
@@ -47,10 +48,15 @@ File '/user/username/projects/myproject/src/fileNotFound.d.ts' does not exist.
47
48
File '/user/username/projects/myproject/src/fileNotFound.js' does not exist .
48
49
File '/user/username/projects/myproject/src/fileNotFound.jsx' does not exist .
49
50
= === === = Module name './fileNotFound' was not resolved . = === = ===
50
- DirectoryWatcher :: Added :: WatchInfo : / user / username / projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
51
- Elapsed :: * ms DirectoryWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
52
- Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' found in cache from location '/user/username/projects/myproject/src' , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
53
- Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' found in cache from location '/user/username/projects/myproject/src' , it was not resolved .
51
+ = === = === Resolving module './filePresent' from '/user/username/projects/myproject/src/main.ts' . = === = ===
52
+ Resolution for module './filePresent' was found in cache from location '/user/username/projects/myproject/src' .
53
+ = === === = Module name './filePresent' was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' . = === = ===
54
+ = === = === Resolving module './filePresent' from '/user/username/projects/myproject/src/main.ts' . = === = ===
55
+ Resolution for module './filePresent' was found in cache from location '/user/username/projects/myproject/src' .
56
+ = === === = Module name './filePresent' was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' . = === = ===
57
+ = === = === Resolving module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' . = === = ===
58
+ Resolution for module './fileNotFound' was found in cache from location '/user/username/projects/myproject/src' .
59
+ = === === = Module name './fileNotFound' was not resolved . = === = ===
54
60
FileWatcher :: Added :: WatchInfo : / a / lib / lib . d . ts 500 undefined Project: WatchType: Closed Script info
55
61
FileWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / src / globalFileNotFound . ts 500 undefined Project : / user / username / projects / myproject / tsconfig . json WatchType: Missing file
56
62
DirectoryWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / node_modules / @types 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Type roots
@@ -239,17 +245,15 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/globalNe
239
245
Scheduled: / u s e r / username/ projects / myproject / tsconfig . json
240
246
Scheduled : * ensureProjectForOpenFiles *
241
247
Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / globalNewFile . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Wild card directory
242
- DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / globalNewFile . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
243
- Scheduled: / u s e r / username/ projects / myproject / tsconfig . jsonFailedLookupInvalidation
244
- Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / globalNewFile . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
245
248
Running: / u s e r / username/ projects / myproject / tsconfig . json
246
249
FileWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / src / globalNewFile . ts 500 undefined Project : WatchType: Closed Script info
247
250
Starting updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json
248
251
Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
249
252
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was not resolved .
250
253
Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
254
+ Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
251
255
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
252
- Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 3 structureChanged: true structureIsReused:: Not Elapsed :: * ms
256
+ Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed :: * ms
253
257
Project '/user/username/projects/myproject/tsconfig.json' ( Configured )
254
258
Files ( 10 )
255
259
/ a / lib / lib . d . ts
@@ -380,17 +384,15 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/globalFi
380
384
Scheduled: / u s e r / username/ projects / myproject / tsconfig . json , Cancelled earlier one
381
385
Scheduled : * ensureProjectForOpenFiles * , Cancelled earlier one
382
386
Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / globalFileNotFound . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Wild card directory
383
- DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / globalFileNotFound . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
384
- Scheduled: / u s e r / username/ projects / myproject / tsconfig . jsonFailedLookupInvalidation
385
- Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / globalFileNotFound . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
386
387
Running: / u s e r / username/ projects / myproject / tsconfig . json
387
388
FileWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / src / globalFileNotFound . ts 500 undefined Project : WatchType: Closed Script info
388
389
Starting updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json
389
390
Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
390
391
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was not resolved .
391
392
Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
393
+ Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
392
394
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
393
- Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 4 structureChanged: true structureIsReused:: Not Elapsed :: * ms
395
+ Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed :: * ms
394
396
Project '/user/username/projects/myproject/tsconfig.json' ( Configured )
395
397
Files ( 11 )
396
398
/ a / lib / lib . d . ts
@@ -522,6 +524,7 @@ import { something2 } from "./fileNotFound";
522
524
Modify main file ::
523
525
Starting updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json
524
526
Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
527
+ Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
525
528
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
526
529
Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 5 structureChanged: false structureIsReused:: Completely Elapsed :: * ms
527
530
Different program with same set of files
@@ -590,21 +593,19 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/newFile.
590
593
Scheduled: / u s e r / username/ projects / myproject / tsconfig . json
591
594
Scheduled : * ensureProjectForOpenFiles *
592
595
Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / newFile . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Wild card directory
593
- DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / newFile . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
594
- Scheduled: / u s e r / username/ projects / myproject / tsconfig . jsonFailedLookupInvalidation
595
- Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / newFile . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
596
596
Running: / u s e r / username/ projects / myproject / tsconfig . json
597
597
FileWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / src / newFile . ts 500 undefined Project : WatchType: Closed Script info
598
598
Starting updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json
599
599
Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
600
600
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was not resolved .
601
+ Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
602
+ Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
603
+ Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
601
604
= === === = Resolving module './newFile' from '/user/username/projects/myproject/src/main.ts' . = === = ===
602
605
Module resolution kind is not specified , using 'Classic' .
603
606
File '/user/username/projects/myproject/src/newFile.ts' exist - use it as a name resolution result .
604
607
= === === = Module name './newFile' was successfully resolved to '/user/username/projects/myproject/src/newFile.ts' . = === = ===
605
- Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
606
- Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
607
- Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 6 structureChanged: true structureIsReused:: Not Elapsed :: * ms
608
+ Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed :: * ms
608
609
Project '/user/username/projects/myproject/tsconfig.json' ( Configured )
609
610
Files ( 12 )
610
611
/ a / lib / lib . d . ts
@@ -747,29 +748,20 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/fileNotF
747
748
Scheduled: / u s e r / username/ projects / myproject / tsconfig . json
748
749
Scheduled : * ensureProjectForOpenFiles *
749
750
Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / fileNotFound . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Wild card directory
750
- DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / fileNotFound . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
751
- Scheduled: / u s e r / username/ projects / myproject / tsconfig . jsonFailedLookupInvalidation
752
- Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / fileNotFound . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
753
751
Running: / u s e r / username/ projects / myproject / tsconfig . json
754
- Scheduled : * ensureProjectForOpenFiles * , Cancelled earlier one
755
752
FileWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / src / fileNotFound . ts 500 undefined Project : WatchType: Closed Script info
756
753
Starting updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json
757
754
Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
758
- = === === = Resolving module './fileNotFound' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' . = === = ===
759
- Module resolution kind is not specified , using 'Classic' .
760
- File '/user/username/projects/myproject/src/fileNotFound.ts' exist - use it as a name resolution result .
761
- = === === = Module name './fileNotFound' was successfully resolved to '/user/username/projects/myproject/src/fileNotFound.ts' . = === = ===
755
+ Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was not resolved .
762
756
Reusing resolution of module './newFile' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/newFile.ts' .
763
757
Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
764
- Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' found in cache from location '/user/username/projects/myproject/src' , it was successfully resolved to '/user/username/projects/myproject/src/fileNotFound.ts' .
765
- DirectoryWatcher :: Close :: WatchInfo : / user / username / projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
766
- Elapsed :: * ms DirectoryWatcher:: Close:: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
767
- Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 7 structureChanged: true structureIsReused:: Not Elapsed :: * ms
758
+ Reusing resolution of module './filePresent' from '/user/username/projects/myproject/src/main.ts' of old program , it was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' .
759
+ Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
760
+ Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 7 structureChanged: true structureIsReused:: SafeModules Elapsed :: * ms
768
761
Project '/user/username/projects/myproject/tsconfig.json' ( Configured )
769
762
Files ( 13 )
770
763
/ a / lib / lib . d . ts
771
764
/ user / username / projects / myproject / src / filePresent . ts
772
- / user / username / projects / myproject / src / fileNotFound . ts
773
765
/ user / username / projects / myproject / src / anotherFileReusingResolution . ts
774
766
/ user / username / projects / myproject / src / types . ts
775
767
/ user / username / projects / myproject / src / fileWithRef . ts
@@ -780,6 +772,7 @@ Project '/user/username/projects/myproject/tsconfig.json' (Configured)
780
772
/ user / username / projects / myproject / src / globalMain . ts
781
773
/ user / username / projects / myproject / src / newFile . ts
782
774
/ user / username / projects / myproject / src / main . ts
775
+ / user / username / projects / myproject / src / fileNotFound . ts
783
776
784
777
785
778
. . / . . / . . / . . / a / lib / lib . d . ts
@@ -789,10 +782,6 @@ Project '/user/username/projects/myproject/tsconfig.json' (Configured)
789
782
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
790
783
Imported via "./filePresent" from file 'src / main . ts '
791
784
Imported via "./filePresent" from file 'src/main.ts'
792
- src / fileNotFound . ts
793
- Imported via "./fileNotFound" from file 'src / anotherFileReusingResolution . ts '
794
- Imported via "./fileNotFound" from file 'src/main.ts'
795
- Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
796
785
src / anotherFileReusingResolution . ts
797
786
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
798
787
src / types . ts
@@ -820,6 +809,8 @@ Project '/user/username/projects/myproject/tsconfig.json' (Configured)
820
809
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
821
810
src / main . ts
822
811
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
812
+ src / fileNotFound . ts
813
+ Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
823
814
824
815
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
825
816
Running : * ensureProjectForOpenFiles *
@@ -861,9 +852,6 @@ interface Array<T> { length: number; [n: number]: T; }
861
852
{ "fileName" :"/user/username/projects/myproject/src/filePresent.ts" , "version" :"11598859296-export function something() { return 10; }" }
862
853
export function something ( ) { return 10 ; }
863
854
864
- { "fileName" :"/user/username/projects/myproject/src/fileNotFound.ts" , "version" :"-497034637-export function something2() { return 20; }" }
865
- export function something2 ( ) { return 20 ; }
866
-
867
855
{ "fileName" :"/user/username/projects/myproject/src/anotherFileReusingResolution.ts" , "version" :"-18180953903-import { something } from \"./filePresent\";\nimport { something2 } from \"./fileNotFound\";" }
868
856
import { something } from "./filePresent" ;
869
857
import { something2 } from "./fileNotFound" ;
@@ -909,3 +897,6 @@ import { something2 } from "./fileNotFound";
909
897
something ( ) ;
910
898
911
899
900
+ { "fileName" :"/user/username/projects/myproject/src/fileNotFound.ts" , "version" :"-497034637-export function something2() { return 20; }" }
901
+ export function something2 ( ) { return 20 ; }
902
+
0 commit comments