The reason for this conclusion is the webpack --progress flag, since @ tony-han indicates correctly which is configured as an observer and is running for the Phoenix endpoint in the dev environment.
This and other observers are only started if the :server option is activated. At least in recent versions of Phoenix, this parameter is set to false by default, and it is activated only with the mix phx.server . This means that by default this should not happen in iex at all.
You can check the endpoint configuration of the dev environment to configure server: true , which is not needed. If you delete it, this problem should be resolved.
NB, the server: true parameter (or, alternatively, the more global config :phoenix, :serve_endpoints, true ) should be specified in the prod environment, since this often starts when the release starts.
source share