double tools removed

This commit is contained in:
asoseil 2017-12-14 23:37:38 +01:00
parent e8dc502298
commit 4e6ff3fcf5
1 changed files with 1 additions and 2 deletions

View File

@ -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