Skip to content

Commit

Permalink
Fix bug on phx.server command - it halts if separator -- has been used (
Browse files Browse the repository at this point in the history
#5868)

Co-authored-by: Jerko <[email protected]>
  • Loading branch information
jerko-culina and Jerko authored Jul 19, 2024
1 parent 25e891f commit 293791f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mix/tasks/phx.server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ defmodule Mix.Tasks.Phx.Server do
@impl true
def run(args) do
Application.put_env(:phoenix, :serve_endpoints, true, persistent: true)
Mix.Tasks.Run.run(open_args(args) ++ run_args())
Mix.Tasks.Run.run(run_args() ++ open_args(args))
end

defp iex_running? do
Expand Down

0 comments on commit 293791f

Please sign in to comment.