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:
- Open a
shell
oreshell
buffer. tail -f *
on your log directory.- Turn on
compilation-minor-mode
.