Commit 55d7fbf0 by Kyle Brandt Committed by GitHub

devenv: have bra watch attempt graceful shutdown (#19857)

This is useful when working with backend plugins and grafana at the same time. Makes it so Grafana has a chance to shutdown the external process. An os.Interrupt signal is first sent, then after a five second wait a a force kill will be sent if the process is still running.
parent f1a63ecf
...@@ -17,3 +17,5 @@ cmds = [ ...@@ -17,3 +17,5 @@ cmds = [
["go", "run", "-mod=vendor", "build.go", "-dev", "build-server"], ["go", "run", "-mod=vendor", "build.go", "-dev", "build-server"],
["./bin/grafana-server", "-packaging=dev", "cfg:app_mode=development"] ["./bin/grafana-server", "-packaging=dev", "cfg:app_mode=development"]
] ]
interrupt_timout = 5
graceful_kill = true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment