# Go services — air builds on first run and rebuilds+restarts on any .go change
api:             cd api && sleep 2 && air
auth:            cd auth && air

# Wallet binary hosts multiple sub-services; each gets its own air config + cfg file.
# All five run `make build` independently — Go's build cache serialises concurrent builds safely.
wallet:          cd wallet && air -c .wallet.air.toml
wallet-market:   cd wallet && air -c .market.air.toml
wallet-alert:    cd wallet && air -c .alert.air.toml
wallet-internal: cd wallet && air -c .internal.air.toml
wallet-stream:   cd wallet && air -c .stream.air.toml

# Django — built-in autoreloader watches .py / .html / .po files and restarts on change
admin:           cd AdminPanel && .venv/bin/python src/manage.py runserver 0.0.0.0:8080 --traceback

# Next.js — yarn dev includes HMR out of the box; buf generate runs automatically before dev server
ui:              cd ui && yarn dev -H 0.0.0.0 -p 3000

# Mkdocs - Darano and Dezone documnetaitons 
docs:              cd docs && make dev
