event watcher enabled

This commit is contained in:
alessio 2017-09-25 19:51:32 +02:00
parent a7e7a3f87d
commit a17591e7b0
1 changed files with 3 additions and 3 deletions

View File

@ -56,9 +56,9 @@ type (
// New tries to use an fs-event watcher, and falls back to the poller if there is an error
func Watcher() (FileWatcher, error) {
//if w, err := EventWatcher(); err == nil {
// return w, nil
//}
if w, err := EventWatcher(); err == nil {
return w, nil
}
return PollingWatcher(), nil
}