LSP-typescript icon indicating copy to clipboard operation
LSP-typescript copied to clipboard

Incorrect annotations linger when reinstalling `node_modules`

Open silverwind opened this issue 6 months ago • 1 comments

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.

silverwind avatar Aug 01 '24 07:08 silverwind