Fixed multiple events on file change

This commit is contained in:
alessio 2016-08-01 16:17:04 +02:00
parent dadadee7b7
commit b2235510ec
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ func (h *Config) Watch() error{
for _, dir := range val.Watcher.Paths {
path, _ := os.Getwd()
current = val.Watcher
// add dir of project
// add dir of project
if err := filepath.Walk(path + dir, walk); err != nil {
fmt.Println(err)
}