|
@@ -0,0 +1,29 @@ |
|
|
|
|
|
[run] |
|
|
|
|
|
init_cmds = [ # Commands run in start |
|
|
|
|
|
["make", "backend"], |
|
|
|
|
|
["./gitea"] |
|
|
|
|
|
] |
|
|
|
|
|
watch_all = true # Watch all sub-directories |
|
|
|
|
|
watch_dirs = [ |
|
|
|
|
|
"$WORKDIR/routers", |
|
|
|
|
|
"$WORKDIR/services", |
|
|
|
|
|
"$WORKDIR/modules", |
|
|
|
|
|
"$WORKDIR/models", |
|
|
|
|
|
"$WORKDIR/cmd", |
|
|
|
|
|
] # Directories to watch |
|
|
|
|
|
watch_exts = [".go"] # Extensions to watch |
|
|
|
|
|
env_files = [] # Load env vars from files |
|
|
|
|
|
ignore = [".git", "node_modules"] # Directories to exclude from watching |
|
|
|
|
|
ignore_files = [] # Regexps for ignoring specific notifies |
|
|
|
|
|
follow_symlinks = false # Enable/disable following symbolic links of sub directories |
|
|
|
|
|
build_delay = 1500 # Minimal interval to Trigger build event |
|
|
|
|
|
interrupt_timout = 15 # Time to wait until force kill |
|
|
|
|
|
graceful_kill = true # Wait for exit and before directly kill |
|
|
|
|
|
cmds = [ # Commands to run |
|
|
|
|
|
["make", "backend"], |
|
|
|
|
|
["./gitea"] |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
[sync] |
|
|
|
|
|
listen_addr = ":5050" |
|
|
|
|
|
remote_addr = ":5050" |