LSP-typescript
LSP-typescript copied to clipboard
Incorrect annotations linger when reinstalling `node_modules`
When doing a rm -rf node_modules && npm i
inside a project, new error annotations will show because typescript
from node_modules
is temporarily not available. When this happens, LSP-typescript seems falls back to a different configuration where it ignores the tsconfig.json
in the project.
After node_modules
is present again, these error annotations do not go away and the only reliable way to remove them that I have found is to restart Sublime Text.