-
Notifications
You must be signed in to change notification settings - Fork 0
/
.air.toml
26 lines (24 loc) · 1 KB
/
.air.toml
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
# .air.toml
# Config file for Air.
# You can find more examples at https://github.com/cosmtrek/air#configuration-file
[build]
# cmd is the command to build your project.
cmd = "go build -o ./tmp/main ./servefiles"
# bin is the binary file that will be executed.
bin = "./tmp/main"
# full_bin is the full path of the binary file.
# full_bin = "/Users/xxx/go/xxx/tmp/main"
# delay is the duration to wait before restarting the application.
delay = 200
# exclude_dir is the list of directories to be excluded from watching.
exclude_dir = ["tmp", "vendor"]
# include_ext is the list of file extensions to be included in watching.
include_ext = ["go", "tpl", "tmpl", "html"]
# exclude_file is the list of files to be excluded from watching.
exclude_file = ["*flymake", "ginkgo", "delta", "golden"]
# follow_symlink configures whether to follow symlink or not.
follow_symlink = true
# allow_edit configures whether allow edit `.air` conf file or not.
allow_edit = true
# root_dir is the root directory for the app
root_dir = "."