Modules and watchers being loaded twice

Hi,

When I run the command mix phx.server it seems that modules are loaded twice. For example I get:

Setting up watches.  Beware: since -r was given, this may take a while!
Setting up watches.  Beware: since -r was given, this may take a while!
Watches established.
Watches established.
[info] Running ...
22:39:42 - info: compiling...
22:40:41 - info: compiling...
22:40:55 - info: compiling...

I’m using Phoenix 1.3 but this project started on version 1.1. I don’t know when this started to happen.

Any clue?

1 Like

I found the problem. I was starting the Endpoint twice, the problem came from when I migrated from Phoenix 1.2 to version 1.3

3 Likes