Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autoreload in local api mode #316

Open
elthariel opened this issue May 27, 2024 · 1 comment
Open

Autoreload in local api mode #316

elthariel opened this issue May 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@elthariel
Copy link

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 elthariel added the enhancement New feature or request label May 27, 2024
@ashleykleynhans
Copy link

I like this idea. You can create a PR to add it, RunPod are open to accepting PRs to their repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants