diff --git a/packages/wrangler/src/dev.tsx b/packages/wrangler/src/dev.tsx index 3371ad198ff7..7c07501b2808 100644 --- a/packages/wrangler/src/dev.tsx +++ b/packages/wrangler/src/dev.tsx @@ -510,6 +510,7 @@ export async function startDev(args: ArgumentsCamelCase) { await watcher?.close(); }, fetch: async (init?: RequestInit) => { + //TODO: we are not guaranteed to be assigned this port, we should fix this ASAP const port = args.port || config.dev.port || (await getLocalPort()); const address = args.ip || config.dev.ip || "localhost";