Notification of inotify events
The library interfaces with inotify using erlang NIF. The NIF spawns off a thread which then polls the inotify file descriptor for any changes to a watched descriptor.
Add the library to your rebar config
{
deps,
[
{erlnotify, "0.1.*", {git, "git://github.com/dipthegeezer/erlinotify.git", "HEAD"}},
....
]
}.
Then just use rebar to get the deps and use in your code.