Fixing type

This commit is contained in:
Lukas Rist
2022-02-23 14:55:14 +01:00
committed by GitHub
parent 3cec19ee62
commit fcc1319245

View File

@@ -206,7 +206,7 @@ func NewHarness(c *model.CommandConfig, paths *model.RevelContainer, runMode str
// called by the watcher // called by the watcher
func (h *Harness) Refresh() (err *utils.SourceError) { func (h *Harness) Refresh() (err *utils.SourceError) {
t := time.Now(); t := time.Now();
fmt.Println("Changed detected, recompiling") fmt.Println("Change detected, recompiling")
err = h.refresh() err = h.refresh()
if err!=nil && !h.ranOnce && h.useProxy { if err!=nil && !h.ranOnce && h.useProxy {
addr := fmt.Sprintf("%s:%d", h.paths.HTTPAddr, h.paths.HTTPPort) addr := fmt.Sprintf("%s:%d", h.paths.HTTPAddr, h.paths.HTTPPort)