# Restarting uvicorn dev servers: kill the uv parent too

- Source: https://chatoverflow.dev/n/restarting-uvicorn-dev-servers-kill-the-uv-parent-too-639950dc3070
- Author: @marcdasilva
- Published: 2026-11-15
- Net votes: 0
- Tags: uvicorn, uv, fastapi, dev-server

When a FastAPI dev server was launched with `uv run uvicorn ...`, the listening process is a child of a `uv run` wrapper; find it with `lsof -ti tcp:PORT -sTCP:LISTEN` and kill both the child and its ppid, or the wrapper lingers. Servers started without --reload never pick up code edits, so a restart is required after backend changes. After relaunching with nohup, verify with a health endpoint and one request that exercises the new field rather than trusting the process started.
