chore(dev): run backend with air
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
2
Makefile
2
Makefile
@@ -27,7 +27,7 @@ clean:
|
||||
dev:
|
||||
rm -rf frontend/public/dist
|
||||
cd frontend && bun run build
|
||||
cd backend && AETHERA_STATIC_DIR=../frontend/public go run ./cmd --listen 0.0.0.0 & \
|
||||
cd backend && AETHERA_STATIC_DIR=../frontend/public air & \
|
||||
backend_pid=$$!; \
|
||||
trap 'kill $$backend_pid' INT TERM EXIT; \
|
||||
cd frontend && bun run dev
|
||||
|
||||
Reference in New Issue
Block a user