Add bra config to automatically restart server on code change

This commit is contained in:
Thomas Boerger
2019-09-04 11:02:46 +02:00
parent ba353b5ee5
commit 217f7c6c3a
+29
View File
@@ -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-hyper",
"--log-level",
"debug",
"server"
]
]
cmds = [
["make", "build"],
[
"./bin/reva-hyper",
"--log-level",
"debug",
"server"
]
]