Skip to content

Commit 68d8374

Browse files
authored
Update local-development.mdx
1 parent 33c6ff3 commit 68d8374

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

src/content/docs/queues/configuration/local-development.mdx

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,8 @@ To develop locally with Queues, you will need:
2020
## Start a local development session
2121

2222
Open your terminal and run the following commands to start a local development session:
23-
24-
```sh
25-
# Confirm we are using wrangler v3.1.0+
26-
wrangler --version
27-
```
28-
29-
```sh output
30-
⛅️ wrangler 4.13.2
31-
```
32-
33-
Start a local dev session
34-
3523
```sh
36-
# Start a local dev session:
37-
npx wrangler dev
24+
npx wrangler@latest dev
3825
```
3926

4027
```sh output
@@ -56,7 +43,7 @@ Wrangler supports running multiple Workers simultaneously with a single command.
5643
Support for running multiple Workers at once with one Wrangler command is experimental, and subject to change as we work on the experience. If you run into bugs or have any feedback, [open an issue on the workers-sdk repository](https://github.com/cloudflare/workers-sdk/issues/new)
5744
:::
5845

59-
For example, if your project is setup with the following directory structure:
46+
For example, if your project has the following directory structure:
6047
```
6148
producer-worker/
6249
├── wrangler.jsonc
@@ -68,7 +55,7 @@ producer-worker/
6855

6956
You can start development servers for both workers with the following command:
7057
```sh
71-
npx wrangler dev -c wrangler.jsonc -c consumer-worker/wrangler.jsonc --persist-to .wrangler/state
58+
npx wrangler@latest dev -c wrangler.jsonc -c consumer-worker/wrangler.jsonc --persist-to .wrangler/state
7259
```
7360

7461
When the producer Worker sends messages to the queue, the consumer Worker will automatically be invoked to handle them.

0 commit comments

Comments
 (0)