From 4e6ff3fcf5f8a1ce57941fededb3bf8243308c09 Mon Sep 17 00:00:00 2001 From: asoseil Date: Thu, 14 Dec 2017 23:37:38 +0100 Subject: [PATCH 1/2] double tools removed --- realize/projects.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/realize/projects.go b/realize/projects.go index 60a8684..1000b6b 100644 --- a/realize/projects.go +++ b/realize/projects.go @@ -190,7 +190,6 @@ func (p *Project) Reload(path string, stop <-chan bool) { if err != nil { p.Err(err) } - p.tools(stop, path, fi) // path dir if !fi.IsDir() { path := filepath.Dir(path) @@ -198,8 +197,8 @@ func (p *Project) Reload(path string, stop <-chan bool) { if err != nil { p.Err(err) } - p.tools(stop, path, fi) } + p.tools(stop, path, fi) } // Prevent fake events on polling startup p.init = true From 5f72a4c61596cabc358146e371f20e3f4f62e623 Mon Sep 17 00:00:00 2001 From: asoseil Date: Thu, 14 Dec 2017 23:37:58 +0100 Subject: [PATCH 2/2] generate bindata --- realize.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/realize.go b/realize.go index 0fdd581..8c2f7c4 100644 --- a/realize.go +++ b/realize.go @@ -1,3 +1,5 @@ +//go:generate go-bindata -pkg=realize -o=realize/bindata.go realize/assets/... + package main import (