Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 786 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 786 Bytes

active

Active is an Erlang application that triggers rebuilds according to source changes. Active is also a new sync.

The key features are:

  • active no longer hogs disk and cpu to check for changes. Instead, it uses erlfsmon to observe filesystem events.
  • active picks up new module files in your working directory

Setting up

Just add a line to rebar.config:

    {active, ".*", {git, "git://github.com/proger/active", "HEAD"}}

And make sure you start it along in your release boot scripts or application startup scripts:

ERL_LIBS=deps erl -pa ebin -config sys.config \
    -eval '[ok = application:ensure_started(A, permanent) || A <- [erlfsmon,active]]'

That's it!