Chris
Chris

Reputation: 2800

Phoenix umbrella app not hot-reloading code

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?

Upvotes: 2

Views: 516

Answers (1)

Patrick Oscity
Patrick Oscity

Reputation: 54734

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.

Upvotes: 4

Related Questions