-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support rebar3 auto in relx's dev_mode release #6
Comments
What is the difference between working in a relx release in dev_mode vs working in development mode with rebar3_auto outside a release? If the reason is convincing enough it could be looked into. |
Templating of sys.config and/or vm.args. |
@lucafavatella Is it possible to get some more details of what is happening now, and what should be the expected behavior? |
@vans163 An OTP release built with rebar3 can benefit from "overlays" for creating directories, copying files and instantiating file templates in the release. The most typical use is templating of sys.config and vm.args. Off the top of my head (I moved away from my attempt yesterday):
|
@lucafavatella Il look into this, but from the top of my head recompilation leverages rebar_agent:do(compile). If rebar_agent is not picking up changes when the sources change, then it needs to be made to play better with dev_mode relx releases. Otherwise rebar3_auto is not picking up the changed files. |
Give this a new try please, v0.5.1 uses |
It would be nice to be able to add rebar3_auto to a relx release which has dev_mode enabled and let it rebuild files in the running release.
The text was updated successfully, but these errors were encountered: