-
Notifications
You must be signed in to change notification settings - Fork 12.8k
TSServer: config file diagnostics event not sent if config file changes #10473
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
Comments
should be handled by #10418 |
the fix should be in the nightly today |
@mhegazy I tested this today with TS 2.0.3 and this is still not working. An error is reported once and even if I change and save the tsconfig.json the errors are not rechecked. |
@mhegazy would it be possible to fix this for 2.0.5 |
@zhengbli can you take a look? this should have been fixed already? |
@mhegazy sorry for the swirl. Made a mistake during debugging. Will check and and reopen if it is really still an issue. |
OK. Now I see. The triggerFile is in that case tsconfig.json which I need to handle differently. |
I have a fix locally, will send out an PR once the merge between master and release-2.0.5 at #11197 is done so I don't need to repeat that effort. |
Please see: #11615 |
When will this land in 2.0.6 ? |
This should go with the next release, as it has already been ported to the release branch (release-2.0.5). @mhegazy may know better about the release schedule. |
We will publish an insider drop today. |
I tested this again on 2.0.9 and this is still not working. Here is what I do:
Observe: you don't get an event informing you about the new invalid property name
Observe: you don't get an event informing you that no error exists |
If you close and reopen the TS file then the tsconfig.json gets revalidated. |
This should be fixed in master now, @dbaeumer can you give it a try? thanks |
Is this supposed to land in 2.1? |
@mjbvz can you have a look. To test it when this lands in 2.1.3 you need to uncomment the code here: https://github.com/Microsoft/vscode/blob/master/extensions/typescript/src/typescriptMain.ts#L374 |
TypeScript Version: 2.0.0
Code
tsconfig.json
The server sends and event
which is correct. Fix the error in the tsconfig.json and save.
Observe: no configFileDiag update is sent. We either need an event to reqeuest configFileDiag or it should automatically happen when the tsconfig.json file is saved and recognized by the server.
The text was updated successfully, but these errors were encountered: