From 524ed2d234234e2890b9de04d8e399a2b59b61a1 Mon Sep 17 00:00:00 2001 From: alessio Date: Tue, 2 Aug 2016 00:52:17 +0200 Subject: [PATCH] text indentation --- realize/watcher.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/realize/watcher.go b/realize/watcher.go index f44626a..e9e79d6 100644 --- a/realize/watcher.go +++ b/realize/watcher.go @@ -45,7 +45,7 @@ func (p *Project) Watching(){ if !Ignore(path,p.Watcher.Ignore) { if (info.IsDir() && len(filepath.Ext(path)) == 0 && !strings.Contains(path, "/.")) || (InArray(filepath.Ext(path), p.Watcher.Exts)){ if p.Watcher.Preview { - fmt.Println(p.Name + ": " + path) + fmt.Println(p.Name + ": \t" + path) } if err = watcher.Add(path); err != nil { return filepath.SkipDir @@ -77,6 +77,8 @@ func (p *Project) Watching(){ } } + fmt.Println("\nWatching..\n") + for { select { case event := <-watcher.Events: