We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c11512 commit 3b30d5eCopy full SHA for 3b30d5e
packages/language-server/src/server.ts
@@ -123,7 +123,7 @@ export function startServer(options?: LSOptions) {
123
Logger.error('No workspace path set');
124
}
125
126
- if (!evt.capabilities.workspace?.didChangeWatchedFiles) {
+ if (!evt.capabilities.workspace?.didChangeWatchedFiles?.dynamicRegistration) {
127
const workspacePaths = workspaceUris.map(urlToPath).filter(isNotNullOrUndefined);
128
watcher = new FallbackWatcher(watchExtensions, workspacePaths);
129
watcher.onDidChangeWatchedFiles(onDidChangeWatchedFiles);
0 commit comments