I have a Gadget app where I need to frequently update a gadget_public environment variable in production without redeploying the app.
I created a backend API route that returns this value from config, and the frontend fetches this endpoint to read the latest value dynamically.
However, when I update the environment variable in production settings, the API continues to return the old value until I redeploy the app. This makes it seem like the environment variable is read once at startup and then cached for the lifetime of the process.
Is there any way in Gadget to access updated GADGET_PUBLIC env variable values in a running production app without redeploying?