I have an application running on Elixir 1.10.3 and I’m trying to get the runtime configurations figured out. My
releases.exs file contains
import Config config :my_application, sample: "helloworld"
I can then proceed to start the daemon and remote into the program and run this:
And get the expected “helloworld” response. It is to my understanding that I can change the contents of that file (within the _build directory), change that value to something else, and then restart the program, and it will reload the configuration in the
releases.exs file, right? This doesn’t seem to work though. Is there something else I need to add? I want to move some variables from compile time to be changeable at runtime