From 91f34866e06a68b27582e81049e199ca8166ccd4 Mon Sep 17 00:00:00 2001 From: alessio Date: Tue, 23 Aug 2016 13:14:23 +0200 Subject: [PATCH] name of the changed file fixed --- realize/watcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realize/watcher.go b/realize/watcher.go index bb710ec..f78dd31 100644 --- a/realize/watcher.go +++ b/realize/watcher.go @@ -130,7 +130,7 @@ func (p *Project) watching() { if _, err := os.Stat(event.Name); err == nil { i := strings.Index(event.Name, filepath.Ext(event.Name)) if event.Name[:i] != "" { - log.Println(pname(p.Name, 4), ":", Magenta(event.Name)) + log.Println(pname(p.Name, 4), ":", Magenta(event.Name[:i])) // stop and run again if p.Run {