Add bra config to automatically restart server on code change
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
[run]
|
||||
watch_all = true
|
||||
watch_dirs = ["cmd", "pkg"]
|
||||
watch_exts = [".go"]
|
||||
ignore = [".git", "bin", "dist"]
|
||||
ignore_files = []
|
||||
build_delay = 1500
|
||||
interrupt_timout = 15
|
||||
graceful_kill = false
|
||||
|
||||
init_cmds = [
|
||||
["make", "build"],
|
||||
[
|
||||
"./bin/reva-phoenix",
|
||||
"--log-level",
|
||||
"debug",
|
||||
"server"
|
||||
]
|
||||
]
|
||||
|
||||
cmds = [
|
||||
["make", "build"],
|
||||
[
|
||||
"./bin/reva-phoenix",
|
||||
"--log-level",
|
||||
"debug",
|
||||
"server"
|
||||
]
|
||||
]
|
||||
Reference in New Issue
Block a user