Skip to content

Launch phoenix server inside of iex #22

@mgraham

Description

@mgraham

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)
    ))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions