erlsci / inotify

Supervisted Erlang binding for inotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

inotify

Supervisted Erlang binding for inotify

Description

The library interfaces with inotify using and Erlang NIF. The NIF spawns off a thread which then polls the inotify file descriptor for any changes to a watched descriptor.

Installation

Add the library to your rebar config

{deps, [
   {notify, {git, "https://github.com/erlsci/inotify.git", {tag, "v0.5.0,"}}},
   ....
]}.

Then just use rebar3 to download, compile (including the NIF), and use in your code:

$ rebar3 compile

Usage

API

About

Supervisted Erlang binding for inotify

License:Other


Languages

Language:Erlang 50.0%Language:C 22.0%Language:Shell 19.7%Language:Batchfile 8.4%