vans163 / rebar3_auto

Rebar3 plugin to auto compile and reload on file change.
Other
55 stars 14 forks source link

Reload modules only if their actual code changed #16

Open fenollp opened 7 years ago

fenollp commented 7 years ago

Now that OTP can compile with +deterministic, rebar3_auto should compile modules with this option and only reload them when the generated BEAM differs from the previous one.

This is to avoid code:purge killing our processes on editing specs, comments...

This needs a rebar.config option taking either a UseDeterministic :: boolean() or ExcludeFromDeterministic :: [module()], defaulting to false (option disabled).

vans163 commented 4 years ago

rebar_agent:do(compile) is used to compile, this ticket should be cross filed to rebar as its a rebar issue.

vans163 commented 10 months ago

Give this a new try please, r3:do(compile) is used now. v0.5.1 of rebar3_auto