Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
On-the-fly recompiling and reloading in Erlang. Code without friction.
Erlang Makefile
tree: aaf4e450da

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ebin
src
Emakefile
Makefile
README.markdown
rebar

README.markdown

Sync: Recompile and Reload Changed Erlang Code

Sync is a developer tool to help you hot-load changed code in an Erlang system.

When you start the application using sync:go() or application:start(sync), the system automatically starts checking for changes to all loaded modules (except for Erlang system modules). Sync will recompile and reload the module if the source has changed, or if any include files for a module have changed.

Compilation errors are logged using the error_logger.

*** EMACS PRO TIP ***

Sync outputs Emacs friendly compiler messages. This means you can navigate directly to your error messages with a single click.

Simply:

  1. Open a shell or eshell buffer.
  2. tail -f * on your log directory.
  3. Turn on compilation-minor-mode.
Something went wrong with that request. Please try again.