Skip to content

Commit 9c7b5f9

Browse files
committed
Live reloading
1 parent 1e257bd commit 9c7b5f9

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

GraphQL/.air.toml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
root = "."
2+
testdata_dir = "testdata"
3+
tmp_dir = "tmp"
4+
5+
[build]
6+
args_bin = ["--server"]
7+
bin = "./tmp/main"
8+
cmd = "go build -o ./tmp/main ./cmd/main.go"
9+
delay = 0
10+
exclude_dir = ["assets", "tmp", "vendor", "testdata"]
11+
exclude_file = []
12+
exclude_regex = ["_test.go"]
13+
exclude_unchanged = false
14+
follow_symlink = false
15+
full_bin = ""
16+
include_dir = []
17+
include_ext = ["go", "tpl", "tmpl", "html"]
18+
include_file = []
19+
kill_delay = "0s"
20+
log = "build-errors.log"
21+
poll = false
22+
poll_interval = 0
23+
rerun = false
24+
rerun_delay = 500
25+
send_interrupt = false
26+
stop_on_error = false
27+
28+
[color]
29+
app = ""
30+
build = "yellow"
31+
main = "magenta"
32+
runner = "green"
33+
watcher = "cyan"
34+
35+
[log]
36+
main_only = false
37+
time = false
38+
39+
[misc]
40+
clean_on_exit = true
41+
42+
[screen]
43+
clear_on_rebuild = false
44+
keep_scroll = true

0 commit comments

Comments
 (0)