Skip to content

Wrangler should warn when redirected config is out of date #10995

@emily-shen

Description

@emily-shen

Describe the solution

Sometimes i just want to redeploy with a small change to my wrangler file - e.g. changing an env var or changing some binding resource config. It is easy to forget that you need to rebuild with vite in order for the redirected config to pick up these changes, and i can imagine that it would be difficult for users to debug that the reason your config changes are missing is because you forgot to rebuild.

It would be helpful for wrangler to detect that your redirected config is not up to date and warn.

Issue courtesy of me spending an hour yesterday debugging how we diff container config :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions