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)