Skip to content

Commit 3dfb789

Browse files
committed
Use uvicorn --reload instead of watchmedo
1 parent 7fe7947 commit 3dfb789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ startapp() {
4040

4141
developapp() {
4242
echo "Run app in DEVELOPMENT mode"
43-
executeapp "watchmedo auto-restart --patterns=\"*.py;*.txt;*.yml\" --recursive uvicorn -- --host 0.0.0.0" $1
43+
executeapp "uvicorn --reload --host 0.0.0.0 --port 8000" $1
4444
}
4545

4646

0 commit comments

Comments
 (0)