I like to run iex -S mix phx.server as I develop.
When I stop, I hit Ctrl + C, but this doesn’t kill the beam process.
So I have to find the pid being used by beam, and run kill -15 on it. Actually, I have a tiny bash function for automating this, but you get the idea.
If I don’t keep doing this, the orphaned processes will quickly eat up all my memory.
Is there a better way to stop everything, rather than ctrl + c?
Perhaps C-g q RET works better? There are plenty of ways to quit, not many of them are considered proper, and I haven’t understood for myself which to use when
Could you please also tell which version of Elixir/Erlang you are using and perhaps from where you have installed them?