2014-10-04 06:33:20 -05:00
|
|
|
[run]
|
2014-12-30 05:03:03 -06:00
|
|
|
init_cmds = [
|
2021-08-25 08:11:22 -05:00
|
|
|
["make", "gen-go"],
|
2022-04-01 18:01:05 -05:00
|
|
|
["GO_BUILD_DEV=1", "make", "build-cli"],
|
|
|
|
["GO_BUILD_DEV=1", "make", "build-server"],
|
2020-04-08 07:13:05 -05:00
|
|
|
["./bin/grafana-server", "-packaging=dev", "cfg:app_mode=development"]
|
2014-12-30 05:03:03 -06:00
|
|
|
]
|
2014-10-04 06:33:20 -05:00
|
|
|
watch_all = true
|
2018-10-15 04:03:24 -05:00
|
|
|
follow_symlinks = true
|
2014-10-04 06:33:20 -05:00
|
|
|
watch_dirs = [
|
2020-04-08 07:13:05 -05:00
|
|
|
"$WORKDIR/pkg",
|
|
|
|
"$WORKDIR/public/views",
|
|
|
|
"$WORKDIR/conf",
|
2014-10-04 06:33:20 -05:00
|
|
|
]
|
2018-08-13 08:40:52 -05:00
|
|
|
watch_exts = [".go", ".ini", ".toml", ".template.html"]
|
2022-04-01 18:01:05 -05:00
|
|
|
ignore_files = ["wire_gen.go"]
|
2014-10-04 06:33:20 -05:00
|
|
|
build_delay = 1500
|
|
|
|
cmds = [
|
2021-12-01 08:26:45 -06:00
|
|
|
["make", "gen-go"],
|
2022-04-01 18:01:05 -05:00
|
|
|
["GO_BUILD_DEV=1", "make", "build-server"],
|
2020-04-08 07:13:05 -05:00
|
|
|
["./bin/grafana-server", "-packaging=dev", "cfg:app_mode=development"]
|
2014-10-04 06:33:20 -05:00
|
|
|
]
|