Fix local Docker startup for workflow app

This commit is contained in:
2026-03-21 13:03:05 -04:00
parent 249131ec00
commit 7d2816e3c4
6 changed files with 75 additions and 57 deletions

View File

@@ -3,6 +3,10 @@ export async function register() {
return;
}
if (process.env.WORKFLOW_TARGET_WORLD?.trim() !== '@workflow/world-postgres') {
return;
}
const { getWorld } = await import('workflow/runtime');
await getWorld().start?.();
}