Add inotify support