Skip to content

Commit b2b4c8a

Browse files
committed
use volar.action.restartServer
1 parent 57bab1f commit b2b4c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vueVolarSupport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default () => {
6363
.getConfiguration('')
6464
.update(VOLAR_CONFIG_FILE_SETTING, extensionCtx.asAbsolutePath('./volarConfig.js'), vscode.ConfigurationTarget.Global)
6565
if (restartNeeded) {
66-
void vscode.commands.executeCommand('workbench.action.restartExtensionHost')
66+
void vscode.commands.executeCommand('volar.action.restartServer')
6767
}
6868
})
6969
}

0 commit comments

Comments
 (0)