Skip to content
/ active Public

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

License

Notifications You must be signed in to change notification settings

proger/active

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published