Skip to content

Commit ed5708d

Browse files
committed
fix(editor): detect all workspaces config path changes (#11016)
this was missed when coping the changes from #10515 to #10875
1 parent 7ad6cf8 commit ed5708d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/vscode/client/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export async function activate(context: ExtensionContext) {
316316
// update the initializationOptions for a possible restart
317317
client.clientOptions.initializationOptions = this.languageServerConfig;
318318

319-
if (event.affectsConfiguration('oxc.configPath')) {
319+
if (configService.effectsWorkspaceConfigPathChange(event)) {
320320
client.clientOptions.synchronize = client.clientOptions.synchronize ?? {};
321321
client.clientOptions.synchronize.fileEvents = createFileEventWatchers(this.getOxlintCustomConfigs());
322322

0 commit comments

Comments
 (0)