Kill all servers

This commit is contained in:
cgte 2021-09-22 21:41:28 +00:00
parent 7b2cabf2db
commit 0aeeaf2e6a
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ scaledev:
serve:
poetry run uvicorn papi.main:app
kill_server:
pgrep -f papi.*python | xargs kill -9
.ONESHELL:
dev_serve:
poetry run uvicorn papi.main:app --reload