add optional arg to specify events to pass to inotifywait