Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Dev mode with RELX_REPLACE_OS_VARS overwrites var-enabled sys.config/vm.args #1753
When running a release with dev mode enabled AND RELX_REPLACE_OS_VARS=true, rebar3 will generate sys.config and vm.args with the vars replaced, and place them in the release directory, overwriting (probably because they are symlinked) the pristine variable-enabled config that generated these files in the first place.
Dev mode and RELX_REPLACE_OS_VARS should not symlink sys.config/vm.args and overwrite the vars-enabled files.
@priestjim with OTP-21 and rebar3 3.6.0 there is now the
I think this should resolve your issue.