Skip to content

Commit f20204d

Browse files
Add --local flag to wrangler dev documentation
1 parent 81edf34 commit f20204d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/docs/workers/wrangler/commands.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ None of the options for this command are required. Many of these options can be
246246
- Show the interactive dev session.
247247
- `--alias` `Array<string>`
248248
- Specify modules to alias using [module aliasing](/workers/wrangler/configuration/#module-aliasing).
249+
- `--local` <Type text="boolean" /> <MetaInfo text="(default: false) optional" />
250+
- Develop against all local resources, this includes both the worker's logic and [remote bindings](/workers/development-testing/#remote-bindings) which will be disabled (behaving exactly as if there were configured with `remote: false`).
249251

250252
<Render file="wrangler-commands/global-flags" product="workers" />
251253

0 commit comments

Comments
 (0)