use watcher if inotifywait is not available.