Skip to content

[FEATURE] Remote Bindings While Using Next Dev #457

@jtbeckman

Description

@jtbeckman

Is your feature request related to a problem?

While developing with next dev it would be nice to connect to remote bindings.

Note, this is different than #254. My ask is for remote binding during the dev server, not at build time.

Describe the solution you'd like

The only hook that I see this working with is initOpenNextCloudflareForDev(), so adding an options map to it with env and remote fields that mirror the wrangler cli.

Describe alternatives you've considered

opennextjs-cloudflare && wrangler dev --env production --remote, though this means I have to rebuild to iterate on app changes.

@opennextjs/cloudflare version

0.5.10

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