Bra: Run wire re-gen on code change (attempt #2) (#42582)

This commit is contained in:
Kyle Brandt 2021-12-01 09:26:45 -05:00 committed by GitHub
parent d7861f62a9
commit 2e3fd9d659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,10 @@ watch_dirs = [
"$WORKDIR/conf", "$WORKDIR/conf",
] ]
watch_exts = [".go", ".ini", ".toml", ".template.html"] watch_exts = [".go", ".ini", ".toml", ".template.html"]
ignore_files = ["wire_gen.go"]
build_delay = 1500 build_delay = 1500
cmds = [ cmds = [
["make", "gen-go"],
["go", "run", "build.go", "-dev", "build-server"], ["go", "run", "build.go", "-dev", "build-server"],
["./bin/grafana-server", "-packaging=dev", "cfg:app_mode=development"] ["./bin/grafana-server", "-packaging=dev", "cfg:app_mode=development"]
] ]