Skip to content

Commit a23c1e9

Browse files
committed
watch pyrefly settings
1 parent a3dd3aa commit a23c1e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/client/languageServer/watcher.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ export class LanguageServerWatcher implements IExtensionActivationService, ILang
297297
await this.refreshLanguageServer(resource);
298298
} else if (event.affectsConfiguration(`python.analysis.pylanceLspClientEnabled`, resource)) {
299299
await this.refreshLanguageServer(resource, /* forced */ true);
300+
} else if (event.affectsConfiguration(`python.pyrefly.disableLanguageServices`, resource)) {
301+
await this.refreshLanguageServer(resource);
300302
}
301303
});
302304
}

0 commit comments

Comments
 (0)