File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -480,6 +480,7 @@ namespace ts {
480480 const watchFilePath = compilerOptions . extendedDiagnostics ? ts . addFilePathWatcherWithLogging : ts . addFilePathWatcher ;
481481 const watchDirectoryWorker = compilerOptions . extendedDiagnostics ? ts . addDirectoryWatcherWithLogging : ts . addDirectoryWatcher ;
482482
483+ writeLog ( `Current directory: ${ currentDirectory } CaseSensitiveFileNames: ${ useCaseSensitiveFileNames } ` ) ;
483484 if ( configFileName ) {
484485 watchFile ( host , configFileName , scheduleProgramReload , writeLog ) ;
485486 }
@@ -573,6 +574,10 @@ namespace ts {
573574 }
574575
575576 // Compile the program
577+ if ( loggingEnabled ) {
578+ writeLog ( `CreatingProgramWith::\n roots: ${ JSON . stringify ( rootFileNames ) } \n options: ${ JSON . stringify ( compilerOptions ) } ` ) ;
579+ }
580+
576581 const needsUpdateInTypeRootWatch = hasChangedCompilerOptions || ! program ;
577582 hasChangedCompilerOptions = false ;
578583 resolutionCache . startCachingPerDirectoryResolution ( ) ;
You can’t perform that action at this time.
0 commit comments