From c434abdbbf6c108e67238ed603fcc1ed660b563a Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Mon, 4 Dec 2023 14:49:27 +0100 Subject: [PATCH] Fix onConfigurationChanged event triggering --- server/packages/server-common/src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/packages/server-common/src/server.ts b/server/packages/server-common/src/server.ts index ab416fc..2df10d9 100644 --- a/server/packages/server-common/src/server.ts +++ b/server/packages/server-common/src/server.ts @@ -67,7 +67,7 @@ export class GalaxyWorkflowLanguageServerImpl implements GalaxyWorkflowLanguageS } private async initialize(params: InitializeParams): Promise { - this.configService.initialize(params.capabilities, this.onConfigurationChanged); + this.configService.initialize(params.capabilities, () => this.onConfigurationChanged()); this.workspaceFolders = params.workspaceFolders; const capabilities: ServerCapabilities = {