It seems that the standard approach is to run phx.server from within an iex session.
Maybe this could be added as a feature? Right now, I have this wrapper which works fine:
(defun mag/inf-elixir-project-phx-server ()
"Launch inf-elixir with phoenix server"
(interactive)
(let ((saved-inf-elixir-project-command inf-elixir-project-command))
(setq inf-elixir-project-command "iex -S mix phx.server")
(inf-elixir-project)
(setq inf-elixir-project-command saved-inf-elixir-project-command)
))
It seems that the standard approach is to run phx.server from within an iex session.
Maybe this could be added as a feature? Right now, I have this wrapper which works fine: