Skip to content

Commit

Permalink
Notify plugin watcher after deployment changes
Browse files Browse the repository at this point in the history
Restore the onDidDeploy() dorwarding lost in the refactoring for
headless plugins.

Signed-off-by: Christian W. Damus <cdamus.ext@eclipsesource.com>
  • Loading branch information
cdamus committed Jan 31, 2024
1 parent 1a64bb6 commit 9a7a367
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/plugin-ext/src/hosted/browser/hosted-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ export class HostedPluginSupport extends AbstractHostedPluginSupport<PluginManag
}

protected override afterStart(): void {
this.watcher.onDidDeploy(() => this.load());
this.server.onDidOpenConnection(() => this.load());
}

Expand Down

0 comments on commit 9a7a367

Please sign in to comment.