diff --git a/packages/remix/src/plugins/plugin.ts b/packages/remix/src/plugins/plugin.ts index d30c716ee6fa7..cc44a63636f1a 100644 --- a/packages/remix/src/plugins/plugin.ts +++ b/packages/remix/src/plugins/plugin.ts @@ -185,7 +185,9 @@ async function getServerBuildPath( try { let appConfigModule: any; try { - appConfigModule = await Function(`return import("${configPath}")`)(); + appConfigModule = await Function( + `return import("${configPath}?t=${Date.now()}")` + )(); } catch { appConfigModule = require(configPath); }