grafana/.bra.toml
Marcus Efraimsson b7b0ca2b90
build: introduce -dev flag optimal for building in development mode
Fix performance issue with running bra run for go run build.go build
2018-04-18 11:25:34 +02:00

18 lines
392 B
TOML

[run]
init_cmds = [
["go", "run", "build.go", "-dev", "build-server"],
["./bin/grafana-server", "cfg:app_mode=development"]
]
watch_all = true
watch_dirs = [
"$WORKDIR/pkg",
"$WORKDIR/public/views",
"$WORKDIR/conf",
]
watch_exts = [".go", ".ini", ".toml"]
build_delay = 1500
cmds = [
["go", "run", "build.go", "-dev", "build"],
["./bin/grafana-server", "cfg:app_mode=development"]
]