Phoenix umbrella app not hot-reloading code

502 Views Asked by At

I have trouble with code reload in my Phoenix umbrella app.

My umbrella is composed of 2 applications : app and app_web. Any change in app_web is hot reloaded as wanted, but I can’t make the same thing work with code in app.

Where should I start looking?

1

There are 1 best solutions below

1
Patrick Oscity On BEST ANSWER

I am guessing you are running mix phx.server from apps/app_web. This is a common pitfall with umbrella projects, where you need to start the server from the root directory of the umbrella project for code reloading to work properly.