From 77476a5722119645e544f656ca7f656875c573e1 Mon Sep 17 00:00:00 2001 From: Pine Wu Date: Thu, 14 Mar 2019 16:15:54 -0700 Subject: [PATCH] Listen to file creation even for js/ts. Fix #1091 --- client/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.ts b/client/client.ts index 1ceee37efd..7b8d3e9e10 100644 --- a/client/client.ts +++ b/client/client.ts @@ -33,7 +33,7 @@ export function initializeLanguageClient(vlsModulePath: string): LanguageClient documentSelector, synchronize: { configurationSection: ['vetur', 'emmet', 'html', 'javascript', 'typescript', 'prettier', 'stylusSupremacy'], - fileEvents: vscode.workspace.createFileSystemWatcher('{**/*.js,**/*.ts}', true, false, true) + fileEvents: vscode.workspace.createFileSystemWatcher('{**/*.js,**/*.ts}', false, false, true) }, initializationOptions: { config