From 606917f90f606844d738eb7f2017644313cfa15d Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Sun, 15 Mar 2026 17:04:00 -0700 Subject: [PATCH] feat(avocet): add restart-api command to manage.sh --- manage.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manage.sh b/manage.sh index 7ea900d..fbd0ed4 100755 --- a/manage.sh +++ b/manage.sh @@ -96,6 +96,7 @@ usage() { echo " Vue API:" echo -e " ${GREEN}start-api${NC} Build Vue SPA + start FastAPI on port 8503" echo -e " ${GREEN}stop-api${NC} Stop FastAPI server" + echo -e " ${GREEN}restart-api${NC} Stop + rebuild + restart FastAPI server" echo -e " ${GREEN}open-api${NC} Open Vue UI in browser (http://localhost:8503)" echo "" echo " Dev:" @@ -305,6 +306,11 @@ case "$CMD" in fi ;; + restart-api) + bash "$0" stop-api + exec bash "$0" start-api + ;; + open-api) URL="http://localhost:8503" info "Opening ${URL}"