runpod-python
runpod-python copied to clipboard
Autoreload in local api mode
Is your feature request related to a problem? Please describe.
When working locally on an endpoint in API mode (--rp_serve_api), you have to kill and restart the server constantly to have you code changes taked into account.
There should be an automated reload mode, which is luckily supported by Uvicorn.
Describe the solution you'd like
--rp-serve-reload that would trigger reload=True in start_uvicorn