inotify has supported some oses
version 1
Merge branch 'master' of github.com:lufia/watchfor