@@ -352,10 +352,8 @@ export const myappUnrelated2 = 10;
352352Before running Timeout callback :: count : 2
35335318 : timerToInvalidateFailedLookupResolutions
35435419 : 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
359357After running Timeout callback :: count : 0
360358Output ::
361359DirectoryWatcher :: 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
370368DirectoryWatcher :: 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
371369Scheduling update
372370Elapsed :: * 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
374371Reloading new file names and options
375372Synchronizing 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-
415373
416374
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-
428375exitCode :: ExitStatus . undefined
429376
430377
@@ -436,12 +383,12 @@ export const myapp = 10;
436383
437384
438385Before running Timeout callback :: count : 2
439- 23 : timerToInvalidateFailedLookupResolutions
440- 24 : timerToUpdateProgram
386+ 22 : timerToInvalidateFailedLookupResolutions
387+ 23 : timerToUpdateProgram
441388After running Timeout callback :: count : 1
442- 25 : timerToUpdateProgram
389+ 24 : timerToUpdateProgram
443390Before running Timeout callback :: count : 1
444- 25 : timerToUpdateProgram
391+ 24 : timerToUpdateProgram
445392After running Timeout callback :: count : 0
446393Output ::
447394DirectoryWatcher :: 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
459406Scheduling update
460407Reloading new file names and options
461408Synchronizing 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 . . .
463410
464411CreatingProgramWith ::
465412 roots : [ "/user/username/projects/myproject/lib/app.ts" ]
@@ -481,7 +428,7 @@ Resolving real path for '/user/username/projects/myproject/node_modules/@myapp/t
481428FileWatcher :: Added :: WatchInfo : / user / username / projects / myproject / node_modules / @myapp / ts - types / index . d . ts 250 undefined Source file
482429DirectoryWatcher :: Close :: WatchInfo : / user / username / projects / node_modules 1 undefined Failed Lookup Locations
483430Elapsed :: * 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 .
485432
486433
487434
0 commit comments