Closed prakhargupta1 closed 1 year ago
Would it be enough to watch for file change and restart the process when change is detected or does it have to be smarted and know how to update values without restarting the app?
Serverside functions are run in a child process. It's enough to restart the child process with new env variables. No need to restart the whole app.
Did this today
Duplicates
Latest version
Summary 💡
Update env variables for serverside code when the .env file changes. Right now the user needs to restart Toolpad.
Examples 🌈
No response
Motivation 🔦
No response