How to gracefully restart the Elixir App? -
i have supervised elixir app running :- mix_env=dev mix run
. if change code, how can restart app gracefully not killing first. (just gracefully restart supervisord process using hup)
the nitty gritty details of actual code hot swapping can find in answer question:
achieving code swapping in erlang's gen_server
as how automate process of reloading can have @ phoenix , how reloading. summary of uses fs lib monitor file system changes , invoke process similar 1 outlined in answer question above.
Comments
Post a Comment