You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// server could be closed externally after a file change is detected
482
-
if(!server)return
483
-
// any tsconfig.json that's added in the workspace could be closer to a code file than a previously cached one
484
-
// any json file in the tsconfig cache could have been used to compile ts
485
-
if(
486
-
path.basename(changedFile)==='tsconfig.json'||
487
-
(changedFile.endsWith('.json')&&
488
-
tsconfckCache?.hasParseResult(changedFile))
489
-
){
490
-
server.config.logger.info(
491
-
`changed tsconfig file detected: ${changedFile} - Clearing cache and forcing full-reload to ensure TypeScript is compiled with updated config values.`,
0 commit comments