Skip to content

Commit 2940001

Browse files
Update src/content/docs/pages/functions/bindings.mdx
Co-authored-by: Greg Brimble <[email protected]>
1 parent d94e3fb commit 2940001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/pages/functions/bindings.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ If you set up the Service binding via the Cloudflare dashboard, you will need to
549549

550550
For example, to develop locally, if your Worker is called `my-worker`, run `npx wrangler dev` in the `my-worker` directory. In a different terminal, also run `npx wrangler pages dev <OUTPUT_DIR> --service MY_SERVICE=my-worker` in your Pages project directory. Interact with this Service binding by using `context.env` (for example, `context.env.MY_SERVICE`).
551551

552-
Wrangler also supports running your Pages project and bound Workers at once with one command. To try it out, pass multiple -c flags to Wrangler, like this: `wrangler dev -c wrangler.toml -c ../other-worker/wrangler.toml`. The first config must point to your Pages configuration file,and the remaining configs will be accessible via a service binding from your Pages project.
552+
Wrangler also supports running your Pages project and bound Workers at once with one command. To try it out, pass multiple -c flags to Wrangler, like this: `wrangler dev -c wrangler.toml -c ../other-worker/wrangler.toml`. The first argument must point to your Pages configuration file, and the subsequent configurations will be accessible via a Service binding from your Pages project.
553553

554554
:::caution
555555

0 commit comments

Comments
 (0)