Skip to content

Commit 56300cf

Browse files
committed
Update index.ts
1 parent c6c5850 commit 56300cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/vscode/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import * as interpolationDecorators from './lib/interpolationDecorators';
2121
import * as reactivityVisualization from './lib/reactivityVisualization';
2222
import * as welcome from './lib/welcome';
2323

24-
const patchedTypeScriptExtension = patchTypeScriptExtension();
2524
const serverPath = resolveServerPath();
25+
const neededRestart = !patchTypeScriptExtension();
2626

2727
for (
2828
const incompatibleExtensionId of [
@@ -61,7 +61,7 @@ export = defineExtension(() => {
6161

6262
nextTick(() => stop());
6363

64-
if (!patchedTypeScriptExtension) {
64+
if (neededRestart) {
6565
vscode.window.showInformationMessage(
6666
'Please restart the extension host to activate Vue support.',
6767
'Restart Extension Host',

0 commit comments

Comments
 (0)