Skip to content

Commit

Permalink
Revert "Update local.tsx"
Browse files Browse the repository at this point in the history
This reverts commit 9861bd1.
  • Loading branch information
rozenmd committed Jul 4, 2022
1 parent 9861bd1 commit 90bbf33
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, 250));
await new Promise((resolve) => setTimeout(resolve, 300));
onReady();
}

Expand Down

0 comments on commit 90bbf33

Please sign in to comment.