Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reload modules only if their actual code changed #16

Open
fenollp opened this issue Oct 25, 2017 · 2 comments
Open

Reload modules only if their actual code changed #16

fenollp opened this issue Oct 25, 2017 · 2 comments

Comments

@fenollp
Copy link

fenollp commented Oct 25, 2017

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
Copy link
Owner

vans163 commented Aug 15, 2020

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

@vans163
Copy link
Owner

vans163 commented Jan 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants