chore: log gateway reload and signals

This commit is contained in:
Peter Steinberger
2026-01-09 07:13:55 +01:00
parent 394027dffb
commit 581da80209
4 changed files with 202 additions and 6 deletions

View File

@@ -308,6 +308,9 @@ export function startGatewayConfigReloader(opts: {
settings = resolveGatewayReloadSettings(nextConfig);
if (changedPaths.length === 0) return;
opts.log.info(
`config change detected; evaluating reload (${changedPaths.join(", ")})`,
);
const plan = buildGatewayReloadPlan(changedPaths);
if (settings.mode === "off") {
opts.log.info("config reload disabled (gateway.reload.mode=off)");