Add inotify support
Merge pull request #53 from adq/master

Add inotify support