active

♾️ ACTIVE: Filesystem Activities

Latest version: 7.11.0 registry icon
Maintenance score
0
Safety score
0
Popularity score
71
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
7.11.0 0 0 0 0 0
6.1.1 0 0 0 0 0
5.12.0 0 0 0 0 0
5.10.4 0 0 0 0 0
5.10.3 0 0 0 0 0
5.10.2 0 0 0 0 0
5.10.1 0 0 0 0 0
0.9.0 0 0 0 0 0

Stability
Latest release:

7.11.0 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



ACTIVE: Continuous Compilation

Actions Status Build Status Hex pm

Active is a sync replacement that uses native file-system OS async listeners to compile and reload Erlang files, DTL templates and other files. It acts as FS subscriber under supervision and uses mad, IEx.Helpers.c or you can add your own compiler, like rebar3 or make.

Listen Folders

One-level

app(App,["ebin",Module|_]) -> load_ebin(App,Module);
app(App,["priv"|_]) -> compile(App);
app(App,["src"|_]) -> compile(App);
app(_,_)-> ok.

Two-level

otp(["deps",App|Rest]) -> app(App,Rest);
otp(["apps",App|Rest]) -> app(App,Rest);
otp([Some|Path]) -> app(top(),[Some|Path]);
otp(_) -> ok.

Usage

On Mac/Linux/Windows just include into your rebar.config:

{active, ".*", {git, "git://github.com/synrc/active", {tag,"1.9"}}}

NOTE: on Linux please install inotify-tools.

Credits

  • Maxim Sokhatsky
  • Vladimir Kirillov
  • Oleksandr Palchikovsky (Elixir)

OM A HUM