Alternative to restart phoenix.server without quitting

Viewed 3115

Is there any way to restart the mix phoenix.server besides of quitting (e.g. by CTRL+c twice or abort etc.) and starting it again?

The background for this is: I use foreman to start the phoenix server plus test runner etc. If I have to quit the server, everything is killed and I have to completely restart foreman. If I could just trigger a restart of the phoenix.server job everything else could remain running.

Since I use tmux and run the foreman commands in different panes this would help a lot. A command triggered via command line is also fine.

2 Answers
Related