Skip to content

Commit

Permalink
Update local.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
rozenmd committed Jul 4, 2022
1 parent 69bdc0d commit ed20f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wrangler/src/dev/local.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ function useLocalWorker({
});
//TODO: instead of being lucky with spawn's timing, have miniflare-cli notify wrangler that it's ready in packages/wrangler/src/miniflare-cli/index.ts, after the mf.startScheduler promise resolves
if (onReady) {
await new Promise((resolve) => setTimeout(resolve, 200));
await new Promise((resolve) => setTimeout(resolve, 5000));
onReady();
}

Expand Down

0 comments on commit ed20f16

Please sign in to comment.