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 {