From b2235510ec52105dd915edb53f0aaf05a78ae2d2 Mon Sep 17 00:00:00 2001 From: alessio Date: Mon, 1 Aug 2016 16:17:04 +0200 Subject: [PATCH] Fixed multiple events on file change --- realize/watcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realize/watcher.go b/realize/watcher.go index 291d156..579c4be 100644 --- a/realize/watcher.go +++ b/realize/watcher.go @@ -62,7 +62,7 @@ func (h *Config) Watch() error{ for _, dir := range val.Watcher.Paths { path, _ := os.Getwd() current = val.Watcher - // add dir of project + // add dir of project if err := filepath.Walk(path + dir, walk); err != nil { fmt.Println(err) }