Hot config reloading for your application.
When HotConfig
receives a configured OS signal (SIGHUP by default), it re-reads configs using config provider
(HotConfig.JSONFile
is shipped OOTB) and patches Application
configs according to rules described in resolver.
The package can be installed
by adding hot_config
to your list of dependencies in mix.exs
:
def deps do
[
{:hot_config, "~> 0.2"}
]
end
The docs can be found at https://hexdocs.pm/hot_config.
Also, check HOWTO.