Skip to content

Commit 244d3eb

Browse files
committed
some clarifications
1 parent 9722a72 commit 244d3eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/docs/durable-objects/platform/known-issues.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ To avoid this issue, when using Durable Object alarms, close and restart your `w
4747
When developing a Pages or Workers Assets application, you may have to define your Durable Object in a separate Worker in order to develop locally.
4848
This only applies to frameworks that use a development server that runs in Node.js. We are working to improve this experience - for example, frameworks that use the Cloudflare Vite plugin do not have this issue.
4949

50-
For now, you can set up your project like this to enable local development.
50+
For now, you can set up your project like this to enable local development. In this example, we assume you have a pre-existing Worker that you want to add a DO binding to.
5151

5252
<Steps>
53-
1. Create a new Worker with your Durable Object code.
53+
1. Create a second Worker with your Durable Object code.
5454

5555
```ts title="src/index.ts"
5656
export class MyDurableObject extends DurableObject {
@@ -65,7 +65,7 @@ For now, you can set up your project like this to enable local development.
6565
};
6666
```
6767

68-
2. Create a new Wrangler config file for this Worker.
68+
2. Create a **new** Wrangler config file for this Worker.
6969

7070
<WranglerConfig>
7171
```json

0 commit comments

Comments
 (0)