diff --git a/src/settingsWebview.ts b/src/settingsWebview.ts index 3da9a09..718a643 100644 --- a/src/settingsWebview.ts +++ b/src/settingsWebview.ts @@ -34,7 +34,7 @@ export class SettingsWebview implements vscode.WebviewViewProvider, vscode.Dispo }), // when the user changes the configuration manually, update the view vscode.workspace.onDidChangeConfiguration((e) => { - if (e.affectsConfiguration('vitest')) { + if (e.affectsConfiguration('vitest.previewBrowser')) { this.updateSettings() } }),