Remove dev environment validation
emedinag opened this issue · comments
Hi, an user can have multiple dev environments, and the decision could be in the mix.exs file ,
Other option can be
case Mix.env() do
:pdn ->
Logger.error("ExSync NOT started. Non`:pdn` environment is supported.")
{:ok, self()}
_ ->
start_supervisor()
end
Yeah that makes sense. In 368cbcc I've removed the Mix.env
check. In the readme we still recommend only installing exsync for the dev environment so there's still some guardrails against running this in production by accident. Thanks for the suggestion!