From 69d13b4b2aa6b62d2b900d914f251e5d49ab10e4 Mon Sep 17 00:00:00 2001 From: alessio Date: Tue, 23 Aug 2016 02:15:22 +0200 Subject: [PATCH] slash path fixed --- realize/project.go | 1 - realize/watcher.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/realize/project.go b/realize/project.go index cad15ad..c65b434 100644 --- a/realize/project.go +++ b/realize/project.go @@ -3,7 +3,6 @@ package realize import ( "bufio" "bytes" - "fmt" "io" "log" "os" diff --git a/realize/watcher.go b/realize/watcher.go index 3c4bcaa..7c27034 100644 --- a/realize/watcher.go +++ b/realize/watcher.go @@ -103,7 +103,7 @@ func (p *Project) watching() { } defer end() - if p.Path == "." { + if p.Path == "." || p.Path == "/" { p.base = wd p.Path = WorkingDir() } else {