Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion realize/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,9 @@ func (p *Project) Reload(path string, stop <-chan bool) {
}
if err != nil {
p.Err(err)
} else {
p.tools(stop, path, fi)
}
p.tools(stop, path, fi)
}
// Prevent fake events on polling startup
p.init = true
Expand Down Expand Up @@ -485,6 +486,10 @@ func (p *Project) cmd(stop <-chan bool, flag string, global bool) {

// Watch the files tree of a project
func (p *Project) walk(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}

if p.shouldIgnore(path) {
return filepath.SkipDir
}
Expand Down