Fix .air.toml configuration and add PATH for air binary
This commit is contained in:
parent
ad159b2549
commit
1ac8c2de5a
2 changed files with 1 additions and 6 deletions
2
Makefile
2
Makefile
|
|
@ -39,7 +39,7 @@ dev-frontend:
|
|||
|
||||
dev-backend:
|
||||
@echo "Starting backend dev server (hot-reload enabled)..."
|
||||
cd $(BACKEND_DIR) && USE_EMBEDDED=false air
|
||||
cd $(BACKEND_DIR) && USE_EMBEDDED=false PATH=$(PATH):$$HOME/go/bin air
|
||||
|
||||
# Clean build artifacts
|
||||
clean:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,6 @@
|
|||
# .air.toml - Air configuration for hot-reloading Go backend
|
||||
# Install air: go install github.com/air-verse/air@latest
|
||||
|
||||
[root]
|
||||
temp_dir = "tmp"
|
||||
watch_dirs = ["."]
|
||||
ignore_dirs = ["tmp", "vendor", "cmd/server/embed"]
|
||||
|
||||
[build]
|
||||
bin = "./tmp/imc-vibe"
|
||||
cmd = "go build -o ./tmp/imc-vibe ./cmd/server"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue