dipthegeezer/erlinotify — pull request #2 by tex (2012-11-23 16:52:11+00:00)
Title: new callback api, fix tests

Hi,

Thank you for updating to rebar/otp, I just happened to need this library :-)

I'm proposing a different callback api, this one allows to specify a specific callback to each watched file. It also survives server crash as the callbacks are stored in ets table.

Also fixing do_unwatch, items from ets tables needs to be deleted no matter erlinotify_nif:remove_watch fails or not.

Also fixing eunit tests to properly report test result.

Milan