-
Notifications
You must be signed in to change notification settings - Fork 191
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
Restart language server on command #2238
Conversation
Ensure that the language server is restarted when the "Restart Query Server" command is invoked.
1c06ef9
to
2e0023f
Compare
Curious, I thought this was already done in #1487. |
I think that older PR covered the CLI server, but not the language server! |
That's right. Previous PR was CLI server only. In general, it's harder to find noticeable errors when a new CLI version is used and the language server isn't restarted. That said, I'm surprised it took so long before we had an issue raised for this. |
await queryRunner.restartQueryServer(progress, token); | ||
await Promise.all([ | ||
queryRunner.restartQueryServer(progress, token), | ||
ideServer.restart(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
Ensure that the language server is restarted when the "Restart Query Server" command is invoked.
This PR fixes the first part of #2199 where there are spurious red squiggles when upgrading to a new CLI version.
Replace this with a description of the changes your pull request makes.
Checklist
ready-for-doc-review
label there.