.air.web.toml (426B)
1 root = "." 2 tmp_dir = "build" 3 4 [build] 5 cmd = "mkdir -p ./build && go run ./cmd/buildjs && go build -o ./build/server ./cmd/server" 6 entrypoint = ["./build/server"] 7 include_ext = ["go", "gohtml", "html", "css", "js", "yaml", "yml", "md"] 8 exclude_dir = ["build", "vendor", "node_modules"] 9 exclude_file = ["static/app.js"] 10 delay = 200 11 stop_on_error = true 12 send_interrupt = true 13 14 [log] 15 time = true 16 17 [screen] 18 clear_on_rebuild = true