Skip to content

[FEATURE] Support multiple workers in a single process #692

Open
@sassanh

Description

@sassanh

Is your feature request related to a problem?

One can run multiple workers in a single process in their local env by running:

wrangler dev -c wrangler-config-1.jsonc -c wrangler-config-2.jsonc ...

this enables rpc calls to durable objects for example. Is it possible with opennext? I see initOpenNextCloudflareForDev only accepts a single config file.

Describe the solution you'd like

initOpenNextCloudflareForDev to accept a list of wrangler config files besides the main config.

Describe alternatives you've considered

Alternative: Somehow mentioning other wrangler config files in the main wrangler config file instead of mentioning them in initOpenNextCloudflareForDev

@opennextjs/cloudflare version

1.0.4

Additional context

No response

Before submitting

  • I have checked that there isn't already a similar feature request
  • This is a single feature (not multiple features in one request)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions