You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a record inside an .hrl file that is included in all my .erl files in both src/ and test/ directories.
When I modify the record in that .hrl file and run rebar3 eunit it seems that only my src/*.erl files are recompiled with the updated record information, but test/*.erl files keep old record information.
That usually results in an error.
If I delete _build folder rm -rf _build and rerun rebar eunit then there are no errors.
Expected behaviour
rebar eunit should recompile test/*.erl files when only an .hrl file is modified (with no other changes).
The text was updated successfully, but these errors were encountered:
Environment
I have created a minimal project to reproduce the bug here https://github.com/antonbobkov/rebar3_record_bug
Current behaviour
I have a record inside an .hrl file that is included in all my .erl files in both src/ and test/ directories.
When I modify the record in that .hrl file and run
rebar3 eunit
it seems that only mysrc/*.erl
files are recompiled with the updated record information, buttest/*.erl
files keep old record information.That usually results in an error.
If I delete _build folder
rm -rf _build
and rerunrebar eunit
then there are no errors.Expected behaviour
rebar eunit
should recompile test/*.erl files when only an .hrl file is modified (with no other changes).The text was updated successfully, but these errors were encountered: