Skip to content

Commit 9c8314e

Browse files
authored
Update index.mdx
1 parent 6ab44d4 commit 9c8314e

File tree

1 file changed

+10
-1
lines changed
  • src/content/docs/workers/runtime-apis/bindings/service-bindings

1 file changed

+10
-1
lines changed

src/content/docs/workers/runtime-apis/bindings/service-bindings/index.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,16 @@ For more about the lifecycle of calling a Worker over a Service Binding via RPC,
9999

100100
## Local development
101101

102-
Local development is supported for Service bindings. For each Worker, open a new terminal and use [`wrangler dev`](/workers/wrangler/commands/#dev) in the relevant directory or use the `SCRIPT` option to specify the relevant Worker's entrypoint.
102+
Local development is supported for Service bindings. For each Worker, open a new terminal and use [`wrangler dev`](/workers/wrangler/commands/#dev) in the relevant directory. When running `wrangler dev`, service bindings will show as `connected`/`not connected` depending on whether Wrangler can find a running `wrangler dev` session for that worker. For example:
103+
104+
```sh
105+
$ wrangler dev
106+
...
107+
Your worker has access to the following bindings:
108+
- Services:
109+
- SOME_OTHER_WORKER: some-other-worker connected
110+
- ANOTHER_WORKER: another-worker not connected
111+
```
103112

104113
## Deployment
105114

0 commit comments

Comments
 (0)