josevalim

josevalim

Creator of Elixir

Elixir v1.14.0 released

Most Liked

soup

soup

Users might want to use --no-pry when running Phoenix in IEx, especially with liveview, or you’ll have processes/events/requests timeout.

iex --sname xyz --cookie abc --no-pry -S mix phx.server

There also seems to be some order dependency on the arguments, so watch out for that:

% iex --no-pry --sname local -S mix phx.server
Erlang/OTP 25 [erts-13.0.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit:ns]

--sname : Unknown option
No file named local
muelthe

muelthe

As always, thank you <3

josevalim

josevalim

Creator of Elixir

Good catch. Fixed in v1.14 and main branches.

soup

soup

Because IEx.pry suspends execution in the view process so it stops responding to other messages. This can cause the surrounding infrastructure to think the view is dead and try to reconnect and then land you in another pry request.

Probably you can alleviate this to a degree by setting some timeouts on the LiveSocket (which AFAIK inherits all the options from Socket).

Possibly you’d have to adjust some timers on the Elixir side too, I have not tried.

You could also configure your own dbg backend to proxy the existing one and perhaps only pry when given an option.

Where Next?

Popular in News Top

josevalim
NOTE: this is a focused thread, so we appreciate if everybody stayed on topic. Feel free to comment anything in regards to calendar forma...
New
Elixir
1. Enhancements Elixir [Regex] Raise error message when regexes are used as default values in struct fields for compatibility with Erlan...
New
whatyouhide
Hello folks, I am super excited to finally share what I've been working on in the last few months: StreamData, an Elixir library for da...
New
josevalim
ExDoc v0.29 is out with a new amazing feature: cheatsheets! Alongside guides and API reference, cheatsheets are another option for Elixi...
New
josevalim
See the release notes: https://github.com/elixir-ecto/ecto/releases/tag/2.2.0-rc.0 To try it in your projects: {:ecto, "~&gt; 2.2.0-rc"...
New
josevalim
Hello folks, Elixir v1.4.0-rc.0 has been released. This is a release candidate for the upcoming Elixir v1.4.0. The most notable changes...
New
Elixir
1. Enhancements Elixir [JSON] Encode any JSON key to string [Kernel] Allow &lt;&lt;_::3*8&gt;&gt; in typespecs Mix [mix loadpaths] Sup...
New
Elixir
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.10.0 Support for Erlang/OTP 21+ Elixir v1.10 requires Erlang/OTP 21+, all...
New
josevalim
Official announcement: http://elixir-lang.org/blog/2017/01/05/elixir-v1-4-0-released/
New
josevalim
Hi! :wave: I hope everyone is well! The Elixir team releases new versions every 6 months, typically every January and July. However, si...
New

Other popular topics Top

peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement