use the much more efficient inotifywait rather than sleep/pulling