Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
rozenmd committed Jul 5, 2022
1 parent bd3278d commit 1ef5c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/wrangler/src/dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ export async function startDev(args: ArgumentsCamelCase<DevArgs>) {
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";

Expand Down

0 comments on commit 1ef5c5b

Please sign in to comment.