use inotify instead of guard