Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

dev: Local server auto-reload on config change

Clémence Lesnéa62582f63474
diff --git a/Makefile b/Makefile
index f21558b..c7b93c5 100644
--- a/Makefile
+++ b/Makefile
@@ -70,8 +70,10 @@ dev:
--no-server-header \
--port 8080 \
--proxy-headers \
- --timeout-keep-alive 60 \
- --reload
+ --reload \
+ --reload-include .env \
+ --reload-include config.yaml \
+ --timeout-keep-alive 60
build:
diff --git a/requirements-dev.txt b/requirements-dev.txt
index c824623..054f3a6 100644
--- a/requirements-dev.txt
+++ b/requirements-dev.txt
@@ -1,2 +1,3 @@
black==24.1.1
pur==7.3.1
+watchfiles==0.21.0 # Required for uvicorn auto-reload