Skip to content
This repository

The first version polls a configured directory, compiles the source and load the changes

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 doc
Octocat-spinner-32 include
Octocat-spinner-32 priv
Octocat-spinner-32 src
Octocat-spinner-32 templates
Octocat-spinner-32 test
Octocat-spinner-32 testdir
Octocat-spinner-32 .gitignore
Octocat-spinner-32 rebar.config

What is erlbuild and for what is it good?

erlbuild is a developer tool which reduce the cycle of comiling code, testing code and reloading code. Everthing the developer has to do is to save his(her) source file and erlbuild will do the rest for you.


  • support of erlang source files in the src directory
  • support of erlydtl *.dtl files in the templates directory


To configure erlbuild for your project, you only have to configure the dependency and start erlbuild.


If you already have a rebar.config file, than insert the erlbuild dependency into the config file.

{deps, [ {erlbuild, ".*", {git, "", "HEAD"}} ]}.

How to start erlbuild

To start erlbuild you can do the following :

  • in the shell : application:start(erlbuild)
  • when you start the erlang shell erl -pa $PWD/ebin $PWD/test $PWD/deps/*/ebin -boot start_sasl -s erlbuild


Before erlbuild will compile and reload the first time, you have to compile your sources once. After this, erlbuild will do the job for you.

Second issue.

When the beam is not loaded, only compiled into the ebin directory and then you edit and make a mistake. The src file won't be compiled again, because the cc_file_poller is buggy.

Something went wrong with that request. Please try again.