Why does elixir recompile the project when i run mix commands?

try to drop the db mix ecto.drop, it triggers full recompilation. try to run the server, recompile again.

:sob: I am still on elixir v1.9 and it’s umbrella project.

Has this recompilation when running mix tasks gotten any better in elixir v1.13 ??

Elixir needs to compile the project to discover the tasks that are defined in the project. The compilation should speed up on the latest Elixir, so it’s always worth upgrading, though I haven’t tested 1.13 yet.

1 Like