mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
b0afe4946d
How to use: - Compile ejabberd with Rebar3 - Start ejabberd with "make relive" - Edit some ejabberd source code file - Save the file, and Sync will compile and reload it automatically I've added src_dirs option so Sync doesn't act on dependencies, which would produce many garbage log lines. However, now it only works if the parent directory is named "ejabberd" Sync requires at least Erlang/OTP 21, which introduced the new try-catch syntax to retrieve the stacktrace https://www.erlang.org/patches/otp-21.0 References: https://hex.pm/packages/sync https://github.com/rustyio/sync
5 lines
224 B
Plaintext
5 lines
224 B
Plaintext
[{mnesia, [{dir, "_build/relive/database"}]},
|
|
{sync,[{src_dirs, {replace, [{"ejabberd/src", []}]}}]},
|
|
{ejabberd, [{config, "_build/relive/conf/ejabberd.yml"},
|
|
{log_path, "_build/relive/logs/ejabberd.log"}]}].
|