@@ -17,6 +17,7 @@ Config: /user/username/projects/myproject/tsconfig.json : {
17
17
"options" : {
18
18
"module" : 2 ,
19
19
"composite" : true ,
20
+ "persistResolutions" : true ,
20
21
"traceResolution" : true ,
21
22
"configFilePath" : "/user/username/projects/myproject/tsconfig.json"
22
23
}
@@ -44,10 +45,15 @@ File '/user/username/projects/myproject/src/fileNotFound.d.ts' does not exist.
44
45
File '/user/username/projects/myproject/src/fileNotFound.js' does not exist .
45
46
File '/user/username/projects/myproject/src/fileNotFound.jsx' does not exist .
46
47
= === === = Module name './fileNotFound' was not resolved . = === = ===
47
- DirectoryWatcher :: Added :: WatchInfo : / user / username / projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
48
- 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
49
- 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' .
50
- 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 .
48
+ = === = === Resolving module './filePresent' from '/user/username/projects/myproject/src/main.ts' . = === = ===
49
+ Resolution for module './filePresent' was found in cache from location '/user/username/projects/myproject/src' .
50
+ = === === = Module name './filePresent' was successfully resolved to '/user/username/projects/myproject/src/filePresent.ts' . = === = ===
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 './fileNotFound' from '/user/username/projects/myproject/src/main.ts' . = === = ===
55
+ Resolution for module './fileNotFound' was found in cache from location '/user/username/projects/myproject/src' .
56
+ = === === = Module name './fileNotFound' was not resolved . = === = ===
51
57
FileWatcher :: Added :: WatchInfo : / a / lib / lib . d . ts 500 undefined WatchType: Closed Script info
52
58
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
53
59
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
@@ -225,17 +231,15 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/globalNe
225
231
Scheduled: / u s e r / username/ projects / myproject / tsconfig . json
226
232
Scheduled : * ensureProjectForOpenFiles *
227
233
Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / globalNewFile . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Config: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Wild card directory
228
- 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
229
- Scheduled: / u s e r / username/ projects / myproject / tsconfig . jsonFailedLookupInvalidation
230
- 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
231
234
Running: / u s e r / username/ projects / myproject / tsconfig . json
232
235
FileWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / src / globalNewFile . ts 500 undefined WatchType : Closed Script info
233
236
Starting updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json
234
237
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' .
235
238
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was not resolved .
236
239
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' .
240
+ 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' .
237
241
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
238
- Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 3 structureChanged: true structureIsReused:: Not Elapsed :: * ms
242
+ Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed :: * ms
239
243
Project '/user/username/projects/myproject/tsconfig.json' ( Configured )
240
244
Files ( 10 )
241
245
/ a / lib / lib . d . ts
@@ -366,17 +370,15 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/globalFi
366
370
Scheduled: / u s e r / username/ projects / myproject / tsconfig . json , Cancelled earlier one
367
371
Scheduled : * ensureProjectForOpenFiles * , Cancelled earlier one
368
372
Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / globalFileNotFound . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Config: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Wild card directory
369
- 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
370
- Scheduled: / u s e r / username/ projects / myproject / tsconfig . jsonFailedLookupInvalidation
371
- 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
372
373
Running: / u s e r / username/ projects / myproject / tsconfig . json
373
374
FileWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / src / globalFileNotFound . ts 500 undefined WatchType : Closed Script info
374
375
Starting updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json
375
376
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' .
376
377
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was not resolved .
377
378
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' .
379
+ 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' .
378
380
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
379
- Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 4 structureChanged: true structureIsReused:: Not Elapsed :: * ms
381
+ Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed :: * ms
380
382
Project '/user/username/projects/myproject/tsconfig.json' ( Configured )
381
383
Files ( 11 )
382
384
/ a / lib / lib . d . ts
@@ -508,6 +510,7 @@ import { something2 } from "./fileNotFound";
508
510
Modify main file ::
509
511
Starting updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json
510
512
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' .
513
+ 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' .
511
514
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
512
515
Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 5 structureChanged: false structureIsReused:: Completely Elapsed :: * ms
513
516
Different program with same set of files
@@ -576,21 +579,19 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/newFile.
576
579
Scheduled: / u s e r / username/ projects / myproject / tsconfig . json
577
580
Scheduled : * ensureProjectForOpenFiles *
578
581
Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / newFile . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Config: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Wild card directory
579
- 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
580
- Scheduled: / u s e r / username/ projects / myproject / tsconfig . jsonFailedLookupInvalidation
581
- 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
582
582
Running: / u s e r / username/ projects / myproject / tsconfig . json
583
583
FileWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / src / newFile . ts 500 undefined WatchType : Closed Script info
584
584
Starting updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json
585
585
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' .
586
586
Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was not resolved .
587
+ 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' .
588
+ 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' .
589
+ Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
587
590
= === === = Resolving module './newFile' from '/user/username/projects/myproject/src/main.ts' . = === = ===
588
591
Module resolution kind is not specified , using 'Classic' .
589
592
File '/user/username/projects/myproject/src/newFile.ts' exist - use it as a name resolution result .
590
593
= === === = Module name './newFile' was successfully resolved to '/user/username/projects/myproject/src/newFile.ts' . = === = ===
591
- 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' .
592
- Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
593
- Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 6 structureChanged: true structureIsReused:: Not Elapsed :: * ms
594
+ Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed :: * ms
594
595
Project '/user/username/projects/myproject/tsconfig.json' ( Configured )
595
596
Files ( 12 )
596
597
/ a / lib / lib . d . ts
@@ -733,29 +734,20 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/fileNotF
733
734
Scheduled: / u s e r / username/ projects / myproject / tsconfig . json
734
735
Scheduled : * ensureProjectForOpenFiles *
735
736
Elapsed :: * ms DirectoryWatcher:: Triggered with / user / username / projects / myproject / src / fileNotFound . ts :: WatchInfo: / u s e r / username/ projects / myproject / src 1 undefined Config: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Wild card directory
736
- 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
737
- Scheduled: / u s e r / username/ projects / myproject / tsconfig . jsonFailedLookupInvalidation
738
- 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
739
737
Running: / u s e r / username/ projects / myproject / tsconfig . json
740
- Scheduled : * ensureProjectForOpenFiles * , Cancelled earlier one
741
738
FileWatcher:: Added:: WatchInfo: / u s e r / username/ projects / myproject / src / fileNotFound . ts 500 undefined WatchType : Closed Script info
742
739
Starting updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json
743
740
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' .
744
- = === === = Resolving module './fileNotFound' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' . = === = ===
745
- Module resolution kind is not specified , using 'Classic' .
746
- File '/user/username/projects/myproject/src/fileNotFound.ts' exist - use it as a name resolution result .
747
- = === === = Module name './fileNotFound' was successfully resolved to '/user/username/projects/myproject/src/fileNotFound.ts' . = === = ===
741
+ Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/anotherFileReusingResolution.ts' of old program , it was not resolved .
748
742
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' .
749
743
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' .
750
- 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' .
751
- DirectoryWatcher :: Close :: WatchInfo : / user / username / projects / myproject / src 1 undefined Project: / u s e r / username/ projects / myproject / tsconfig . json WatchType: Failed Lookup Locations
752
- 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
753
- Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 7 structureChanged: true structureIsReused:: Not Elapsed :: * ms
744
+ 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' .
745
+ Reusing resolution of module './fileNotFound' from '/user/username/projects/myproject/src/main.ts' of old program , it was not resolved .
746
+ Finishing updateGraphWorker: Project: / u s e r / username/ projects / myproject / tsconfig . json Version: 7 structureChanged: true structureIsReused:: SafeModules Elapsed :: * ms
754
747
Project '/user/username/projects/myproject/tsconfig.json' ( Configured )
755
748
Files ( 13 )
756
749
/ a / lib / lib . d . ts
757
750
/ user / username / projects / myproject / src / filePresent . ts
758
- / user / username / projects / myproject / src / fileNotFound . ts
759
751
/ user / username / projects / myproject / src / anotherFileReusingResolution . ts
760
752
/ user / username / projects / myproject / src / types . ts
761
753
/ user / username / projects / myproject / src / fileWithRef . ts
@@ -766,6 +758,7 @@ Project '/user/username/projects/myproject/tsconfig.json' (Configured)
766
758
/ user / username / projects / myproject / src / globalMain . ts
767
759
/ user / username / projects / myproject / src / newFile . ts
768
760
/ user / username / projects / myproject / src / main . ts
761
+ / user / username / projects / myproject / src / fileNotFound . ts
769
762
770
763
771
764
. . / . . / . . / . . / a / lib / lib . d . ts
@@ -775,10 +768,6 @@ Project '/user/username/projects/myproject/tsconfig.json' (Configured)
775
768
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
776
769
Imported via "./filePresent" from file 'src / main . ts '
777
770
Imported via "./filePresent" from file 'src/main.ts'
778
- src / fileNotFound . ts
779
- Imported via "./fileNotFound" from file 'src / anotherFileReusingResolution . ts '
780
- Imported via "./fileNotFound" from file 'src/main.ts'
781
- Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
782
771
src / anotherFileReusingResolution . ts
783
772
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
784
773
src / types . ts
@@ -806,6 +795,8 @@ Project '/user/username/projects/myproject/tsconfig.json' (Configured)
806
795
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
807
796
src / main . ts
808
797
Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
798
+ src / fileNotFound . ts
799
+ Matched by include pattern 'src/**/*.ts' in 'tsconfig.json'
809
800
810
801
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
811
802
Running : * ensureProjectForOpenFiles *
@@ -847,9 +838,6 @@ interface Array<T> { length: number; [n: number]: T; }
847
838
{ "fileName" :"/user/username/projects/myproject/src/filePresent.ts" , "version" :"11598859296-export function something() { return 10; }" }
848
839
export function something ( ) { return 10 ; }
849
840
850
- { "fileName" :"/user/username/projects/myproject/src/fileNotFound.ts" , "version" :"-497034637-export function something2() { return 20; }" }
851
- export function something2 ( ) { return 20 ; }
852
-
853
841
{ "fileName" :"/user/username/projects/myproject/src/anotherFileReusingResolution.ts" , "version" :"-18180953903-import { something } from \"./filePresent\";\nimport { something2 } from \"./fileNotFound\";" }
854
842
import { something } from "./filePresent" ;
855
843
import { something2 } from "./fileNotFound" ;
@@ -895,3 +883,6 @@ import { something2 } from "./fileNotFound";
895
883
something ( ) ;
896
884
897
885
886
+ { "fileName" :"/user/username/projects/myproject/src/fileNotFound.ts" , "version" :"-497034637-export function something2() { return 20; }" }
887
+ export function something2 ( ) { return 20 ; }
888
+
0 commit comments