File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ import * as interpolationDecorators from './lib/interpolationDecorators';
21
21
import * as reactivityVisualization from './lib/reactivityVisualization' ;
22
22
import * as welcome from './lib/welcome' ;
23
23
24
- const patchedTypeScriptExtension = patchTypeScriptExtension ( ) ;
25
24
const serverPath = resolveServerPath ( ) ;
25
+ const neededRestart = ! patchTypeScriptExtension ( ) ;
26
26
27
27
for (
28
28
const incompatibleExtensionId of [
@@ -61,7 +61,7 @@ export = defineExtension(() => {
61
61
62
62
nextTick ( ( ) => stop ( ) ) ;
63
63
64
- if ( ! patchedTypeScriptExtension ) {
64
+ if ( neededRestart ) {
65
65
vscode . window . showInformationMessage (
66
66
'Please restart the extension host to activate Vue support.' ,
67
67
'Restart Extension Host' ,
You can’t perform that action at this time.
0 commit comments