We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f4350d commit b80d0dcCopy full SHA for b80d0dc
src/lsptoolshost/roslynLanguageServer.ts
@@ -792,10 +792,12 @@ export class RoslynLanguageServer {
792
);
793
vscode.commands.registerCommand(
794
DynamicFileInfoHandler.dynamicFileUpdatedCommand,
795
- async (notification: RazorDynamicFileChangedParams) =>
796
- {
+ async (notification: RazorDynamicFileChangedParams) => {
797
if (this.isRunning()) {
798
- this.sendNotification<RazorDynamicFileChangedParams>('razor/dynamicFileInfoChanged', notification)
+ await this.sendNotification<RazorDynamicFileChangedParams>(
+ 'razor/dynamicFileInfoChanged',
799
+ notification
800
+ );
801
} else {
802
_channel.warn('Tried to send razor/dynamicFileInfoChanged while server is not running');
803
}
0 commit comments