proger / active

Active development for Erlang: rebuild and reload source/binary files while the VM is running

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

Active development for Erlang: rebuild and reload source/binary files while the VM is running

License:ISC License


Languages

Language:Erlang 88.8%Language:Makefile 5.6%Language:Elixir 5.6%