diegosouzapw/OmniRoute · error

[HOT_RELOAD] Runtime config reload failed for ${source}:

Error message

[HOT_RELOAD] Runtime config reload failed for ${source}:

What it means

Error "[HOT_RELOAD] Runtime config reload failed for ${source}:" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/config/hotReload.ts:52

      .join(", ")}`
  );
}

async function runHotReloadCheck(source: string) {
  const settings = await getSettings();
  const changes = await applyRuntimeSettings(settings, { source });
  logChanges(source, changes);
}

function queueHotReloadCheck(source: string) {
  if (activeCheck) {
    queuedSource = source;
    return;
  }

  activeCheck = runHotReloadCheck(source)
    .catch((error) => {
      console.warn(
        `[HOT_RELOAD] Runtime config reload failed for ${source}:`,
        error instanceof Error ? error.message : error
      );
    })
    .finally(() => {
      activeCheck = null;
      if (!queuedSource) return;
      const nextSource = queuedSource;
      queuedSource = null;
      queueHotReloadCheck(nextSource);
    });
}

export function startRuntimeConfigHotReload(options: { pollIntervalMs?: number } = {}) {
  if (pollTimer || sqliteWatcher) return;

  const pollIntervalMs = Math.max(
    options.pollIntervalMs || getPollIntervalMs(),

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/config/hotReload.ts:52 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/2f9a925ca7b9da91. Report an issue: GitHub.