Evicting the entire entry on derived watcher events was overly aggressive. Instead, clear cached diagnostics and send a reloadProjects command to the TypeScript language server so it picks up workspace changes without losing state.
Evicting the entire entry on derived watcher events was overly aggressive. Instead, clear cached diagnostics and send a reloadProjects command to the TypeScript language server so it picks up workspace changes without losing state.