From f5838c3ebd4dbdcd89fce6d0d9ccef6a05ba054b Mon Sep 17 00:00:00 2001 From: Mike Shoup Date: Mon, 1 Oct 2018 20:35:36 -0600 Subject: [PATCH] Add config reload message --- thermostat.go | 1 + 1 file changed, 1 insertion(+) diff --git a/thermostat.go b/thermostat.go index 9694727..58c1a7c 100644 --- a/thermostat.go +++ b/thermostat.go @@ -155,6 +155,7 @@ func RunThermostat(path string, sc chan<- State, wg *sync.WaitGroup) { go func() { for { <-hup + log.Println("Reloading configuration") config, err = LoadConfig(path) if err != nil { log.Panicln(err)