mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-11 18:54:31 +00:00
Fixing type
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user