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).
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()
orExcludeFromDeterministic :: [module()]
, defaulting tofalse
(option disabled).