runpod-python icon indicating copy to clipboard operation
runpod-python copied to clipboard

Autoreload in local api mode

Open elthariel opened this issue 1 year ago • 1 comments

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

elthariel avatar May 27 '24 15:05 elthariel