🎀 Gleam tangled site soon? 👀

Starting erlang applications with `application:ensure_all_started` instead of defining them in `gleam.toml` #5

Closed strawmelonjuice.nl
Closed opened by strawmelonjuice.nl

Afaik application:ensure_all_started doesn't start the application in a supervised manner. inets and ssl are being started with it here.

They should instead be defined in gleam.toml as

[erlang]
extra_applications = [ "inets", "ssl" ]

See the gleam.toml reference

an @oyster.cafe case! I shouldn't have let this thru review should I.

I did though because I did see it but didn't really mind it at the time.

May indeed be best to fix, and is an easy fix as well. Will do this later when I have access to a laptop.

Sign up or Sign in to add to the discussion.