Liveview and IEx.pry() reconnecting

I like REPL-driven development.

However, when using IEx.pry() and LiveView, I’m sitting there, happily typing away when I’m abruptly interuppted by the liveview reconnecting, losing what i was typing.

pry(2)> Matrices.change_matrix(socket.assigns.matri[info] GET /matrices/new
[debug] Processing with MyVeryCoolProject.MatrixLive.new/2
  Parameters: %{}
  Pipelines: [:browser]
[info] Sent 200 in 24ms
x[info] CONNECTED TO Phoenix.LiveView.Socket in 21µs

Is there any way to prevent these reconnects when using pry?