fix(config): avoid false reload restarts

This commit is contained in:
Peter Steinberger
2026-04-23 00:43:58 +01:00
parent c65b232463
commit f437d96ae2
11 changed files with 613 additions and 24 deletions

View File

@@ -576,7 +576,7 @@ async function updatePluginsAfterCoreUpdate(params: {
}
const syncResult = await syncPluginsForUpdateChannel({
config: params.configSnapshot.config,
config: params.configSnapshot.sourceConfig,
channel: params.channel,
workspaceDir: params.root,
logger: pluginLogger,
@@ -1324,9 +1324,9 @@ export async function updateCommand(opts: UpdateCommandOptions): Promise<void> {
}
} else {
const next = {
...configSnapshot.config,
...configSnapshot.sourceConfig,
update: {
...configSnapshot.config.update,
...configSnapshot.sourceConfig.update,
channel: requestedChannel,
},
};