Skip to content

Commit c2818d8

Browse files
authored
Update README.md (#3332)
1 parent 12dff19 commit c2818d8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,13 @@ Prebuilt binaries are distributed via `npm`. Run `npx workerd ...` to use these.
186186

187187
### Local Worker development with `wrangler`
188188

189-
You can use [Wrangler](https://developers.cloudflare.com/workers/wrangler/) (v3.0 or greater) to develop Cloudflare Workers locally, using `workerd`. Run:
189+
You can use [Wrangler](https://developers.cloudflare.com/workers/wrangler/) (v3.0 or greater) to develop Cloudflare Workers locally, using `workerd`. First, run the following command to configure Miniflare to use this build of `workerd`.
190+
191+
```
192+
$ export MINIFLARE_WORKERD_PATH="<WORKERD_REPO_DIR>/bazel-bin/src/workerd/server/workerd"
193+
```
194+
195+
Then, run:
190196

191197
`wrangler dev`
192198

0 commit comments

Comments
 (0)