fix: iris now reloads via signal handoff

This commit is contained in:
verse91
2026-04-11 22:12:15 +07:00
parent 78e19199b0
commit bed9c98747
2 changed files with 23 additions and 42 deletions
+1
View File
@@ -15,6 +15,7 @@ run:
[linux, macos]
reload:
@go build -o iris main.go
@if [ -n "${IRIS_PID:-}" ]; then kill -USR1 $IRIS_PID; fi
@if [ -z "${IRIS_FD:-}" ]; then ./iris; fi
# update pkg