feat: Add dev environment config (.envrc + .air.toml)
Configure Wild Central for development alongside Wild Cloud: - Port 15055 (avoids conflict with Wild Cloud on 5055) - NATS port 14222 (avoids conflict with production NATS) - Data dir shared with wild-cloud-redmond-data - Air config for live reloading Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
19
.air.toml
Normal file
19
.air.toml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
root = "."
|
||||||
|
tmp_dir = "tmp"
|
||||||
|
|
||||||
|
[build]
|
||||||
|
bin = "./tmp/main"
|
||||||
|
cmd = "go build -o ./tmp/main ."
|
||||||
|
delay = 1000
|
||||||
|
exclude_dir = ["tmp", "build", "dist", "vendor", "web"]
|
||||||
|
exclude_regex = ["_test.go$"]
|
||||||
|
include_ext = ["go", "yaml"]
|
||||||
|
kill_delay = "0s"
|
||||||
|
send_interrupt = true
|
||||||
|
stop_on_error = true
|
||||||
|
|
||||||
|
[log]
|
||||||
|
time = false
|
||||||
|
|
||||||
|
[misc]
|
||||||
|
clean_on_exit = true
|
||||||
Reference in New Issue
Block a user