Wrangler should warn when redirected config is out of date #13217
emily-shen
started this conversation in
Feature Requests
Replies: 1 comment
-
|
Tricky, since how would Wrangler know that the file generated by some arbitrary tool is out of date? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions