[wrangler] Document new multiworker support#18467
Merged
penalosa merged 2 commits intoproductionfrom Dec 3, 2024
Merged
Conversation
src/content/docs/workers/runtime-apis/bindings/service-bindings/index.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/workers/runtime-apis/bindings/service-bindings/index.mdx
Show resolved
Hide resolved
Deploying cloudflare-docs with
|
| Latest commit: |
b9db5f4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://18e04cc9.cloudflare-docs-7ou.pages.dev |
| Branch Preview URL: | https://penalosa-patch-2.cloudflare-docs-7ou.pages.dev |
Contributor
|
Files with changes (up to 15) |
CarmenPopoviciu
approved these changes
Dec 2, 2024
ToriLindsay
approved these changes
Dec 3, 2024
src/content/docs/workers/runtime-apis/bindings/service-bindings/index.mdx
Outdated
Show resolved
Hide resolved
src/content/docs/workers/runtime-apis/bindings/service-bindings/index.mdx
Outdated
Show resolved
Hide resolved
…s/index.mdx Co-authored-by: ToriLindsay <tgalatro@cloudflare.com>
| - ANOTHER_WORKER: another-worker [not connected] | ||
| ``` | ||
|
|
||
| Wrangler also supports running multiple Workers at once with one command. To try it out, pass multiple `-c` flags to Wrangler, like this: `wrangler dev -c wrangler.toml -c ../other-worker/wrangler.toml`. The first config will be treated as the _primary_ worker, which will be exposed over HTTP as usual at `http://localhost:8787`. The remaining config files will be treated as _secondary_ and will only be accessible via a service binding from the primary worker. |
Contributor
There was a problem hiding this comment.
Suggested change
| Wrangler also supports running multiple Workers at once with one command. To try it out, pass multiple `-c` flags to Wrangler, like this: `wrangler dev -c wrangler.toml -c ../other-worker/wrangler.toml`. The first config will be treated as the _primary_ worker, which will be exposed over HTTP as usual at `http://localhost:8787`. The remaining config files will be treated as _secondary_ and will only be accessible via a service binding from the primary worker. | |
| Wrangler also supports running multiple Workers at once with one command. To try it out, pass multiple `-c` flags to Wrangler, like this: `wrangler dev -c wrangler.toml -c ../other-worker/wrangler.toml`. The first config will be treated as the _primary_ Worker, which will be exposed over HTTP as usual at `http://localhost:8787`. The remaining config files will be treated as _secondary_ and will only be accessible via a service binding from the primary Worker. |
Issues:
- Style Guide - (Terms-error) Use 'Worker' instead of 'worker'.
Fix Explanation:
The term 'Worker' should be capitalized as it refers to a specific concept or entity within the context of the documentation. This change helps in distinguishing it as a proper noun, enhancing clarity and consistency with the style guide.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #18449