This is based on webfreak's
fswatch. I had problems with the
API as it where because I needed to be able to watch multiple directories,
filter what files are to be watched and to be robust against broken symlinks.
Lets say you want to watch a directory for changes and add all directories to
be watched too.