-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy path.air.toml
More file actions
47 lines (42 loc) · 1.05 KB
/
.air.toml
File metadata and controls
47 lines (42 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Air - Live reload for Go apps
# https://github.com/air-verse/air
root = "."
tmp_dir = "tmp"
[build]
# Build command
cmd = "go build -o ./tmp/radar ./cmd/explorer"
# Binary to run
bin = "./tmp/radar --dev --no-browser --kubeconfig ~/.kube/config"
# Watch these extensions
include_ext = ["go", "tpl", "tmpl", "html"]
# Exclude directories
exclude_dir = ["assets", "tmp", "vendor", "web", "node_modules", "internal/static"]
# Exclude files
exclude_file = []
# Exclude regex
exclude_regex = ["_test.go"]
# Exclude unchanged files
exclude_unchanged = true
# Follow symlinks
follow_symlink = false
# Delay before rebuild (ms)
delay = 500
# Stop old binary before building
stop_on_error = true
# Send interrupt signal before kill
send_interrupt = true
# Delay after interrupt (ms)
kill_delay = 500
[log]
# Show log time
time = false
# Only show main log
main_only = false
[color]
main = "magenta"
watcher = "cyan"
build = "yellow"
runner = "green"
[misc]
# Delete tmp directory on exit
clean_on_exit = true