From d3814a359db7ad8784f2799f38a9cfedb22b9553 Mon Sep 17 00:00:00 2001
From: lilly
Date: Mon, 4 May 2026 11:01:04 +0200
Subject: [PATCH] recommend watchexec for development instead of calling
uvicorn
This lets us setup initialization logic much more uniformly
(e.g. configuring loggers)
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index bb04625..c152cf1 100644
--- a/README.md
+++ b/README.md
@@ -17,5 +17,5 @@ Most things should automatically be set up with the included [direnv script](./.
1. Go to the api/ directory
2. Run `uv venv` to create a python virtual environment
3. Install all dependencies of the dooris project into that virtual environment with `uv sync`
-4. Run a development server `uv run uvicorn dooris_api:app --reload`
+4. Run a development server `watchexec -r -w src/ uv run dooris-api`