# Air configuration for Go hot reload root = "./" cmd = ["air"] [build] cmd = "go build -o server cmd/server/main.go" bin = "server" include = ["cmd", "internal", "go.mod", "go.sum"] exclude = ["bin", "tmp", ".env"] delay = 1000 log = "stdout" kill_on_error = true color = true [[watch]] path = "templates" reload = true [[watch]] path = "static" reload = true [[watch]] path = "tmp" reload = false mkdir = true