eSync - Erlang's efficient automatic compile and reload tools

eSync Erlang’s efficient automatic compile and reload tools.
When you test the code, after you modify the code, it will automatically and quickly compile and load, without restarting or manual loading.

2 Likes

It would be great to have the documentation written in english.
I guess this is necessary to have people use the library.

2 Likes

thanks for your suggestions, . it’s very easy to use, just call as eSync:run(). to start, eSync:stop() to stop. Someday i translate to english.

2 Likes

Could it be made into a rebar3 plugin as an extension to the rebar3 shell command?

My AoC workflow is typically to run something like:

> dayNN:p1(dayNN_test:test_data()).
% --- add functionality/fixes ---
> c(dayNN), l(dayNN).
% --- repeat ---
2 Likes

I’ll try.

2 Likes

fwiw, if you’re using rebar3 shell, you can call r3:do(compile) and have it do the same as c(dayNN), l(dayNN).

That being said, taking a glance at the ASCII characters I could understand, eSync uses inotify which means it would auto-compile without actually needing any manual input in the shell, which is nice.

3 Likes

I have submitted a translation

3 Likes