Makefile: run-backend task

This commit is contained in:
Alexander Zobnin
2020-05-28 13:55:38 +03:00
parent 88e8b689ad
commit 9f93faaebf
2 changed files with 26 additions and 0 deletions

21
.bra.toml Normal file
View File

@@ -0,0 +1,21 @@
[run]
init_cmds = [
["make", "build-backend"],
["pkill", "zabbix-plugin"]
] # Commands run in start
watch_all = true # Watch all sub-directories
watch_dirs = ["pkg"] # Directories to watch
watch_exts = [".go"] # Extensions to watch
ignore = [".git", "node_modules"] # Directories to exclude from watching
ignore_files = [] # Regexps for ignoring specific notifies
build_delay = 1500 # Minimal interval to Trigger build event
interrupt_timout = 15 # Time to wait until force kill
graceful_kill = false # Wait for exit and before directly kill
cmds = [
["make", "build-backend"],
["pkill", "zabbix-plugin"]
] # Commands to run
[sync]
listen_addr = ":5050"
remote_addr = ":5050"