-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update when tslint.json changes #30
Comments
To fix quickly this issue, we could use fs.watch to disable the tslint cache configuration when It will fix the case to close VSCode, but it will not revalidate the opened TypeScript files. I don't know how to force tsserver diagnostics when we are inside a plugin. I'm not a big expert with fs.watch, but I'm afraid with lock problem (ex: user delete, move tslint.json file, is it working?) Perhaps an another idea is to wait for TypeScript 2.4 which will implement @egamma what do you think? |
@amatiasq reloading the window, or However, vscode-tslint reacts to tslint.json config changes automatically and we should support the tslint-language-service as well.
Watching the config file is the easy part... since TypeScript doesn't touch the |
Similar to angelozerr#30 but targeting changes to the tsconfig.json file itself
I use |
I had a rule causing me some trouble so I disabled it. I closed and open the offending file many times but vscode still warning about the disabled rule. It was fixed after I closed vscode itself.
The text was updated successfully, but these errors were encountered: