Skip to content
Open
2 changes: 2 additions & 0 deletions src/content/docs/workers/wrangler/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ None of the options for this command are required. Many of these options can be
- Show the interactive dev session.
- `--alias` `Array<string>`
- Specify modules to alias using [module aliasing](/workers/wrangler/configuration/#module-aliasing).
- `--local` <Type text="boolean" /> <MetaInfo text="(default: false) optional" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also have --remote arg above. How do these two interact?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when --remote is used we run the worker remotely so --local doesn't have any effect there, shall we add something here to the extent of: This flag ha no effect when `--remote` is specified?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about --remote=false?

- 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`).

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

Expand Down