From c2657e0adb6bb904eb37bb18afa99424e3480d17 Mon Sep 17 00:00:00 2001 From: Deluan Date: Wed, 30 Jul 2025 17:47:46 -0400 Subject: [PATCH] chore: add `make stop` target to terminate development servers Signed-off-by: Deluan --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 034015740..e30c9a32f 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,14 @@ server: check_go_env buildjs ##@Development Start the backend in development mod @ND_ENABLEINSIGHTSCOLLECTOR="false" go tool reflex -d none -c reflex.conf .PHONY: server +stop: ##@Development Stop development servers (UI and backend) + @echo "Stopping development servers..." + @-pkill -f "vite" + @-pkill -f "go tool reflex.*reflex.conf" + @-pkill -f "go run.*netgo" + @echo "Development servers stopped." +.PHONY: stop + watch: ##@Development Start Go tests in watch mode (re-run when code changes) go tool ginkgo watch -tags=netgo -notify ./... .PHONY: watch