mirror of
https://github.com/grafana/grafana.git
synced 2024-11-21 16:38:03 -06:00
9ca1a94580
* `bra run` is used during development, but it was not using build.go which sets a couple of globals, e.g., the commit (currently set to "NA") * This will help in reporting the commit that someone is basing their screenshot on.
18 lines
369 B
TOML
18 lines
369 B
TOML
[run]
|
|
init_cmds = [
|
|
["go", "run", "build.go", "build"],
|
|
["./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", "build"],
|
|
["./bin/grafana-server", "cfg:app_mode=development"]
|
|
]
|