Avoiding recompilation hell in Elixir with mix xref
In this post, I go through a common occurrence in large codebases: seemingly unrelated files being recompiled every time you change a module. It contains a deep dive on why this happens, how to fix and how to permanently prevent such long (re)compilation chains from showing up again.
The iteration time between making changes and observing changes should be as fast as possible. The slower it is, the more it impacts your productivity. If you suffer from long recompilation chains, I highly suggest you take the time to read the post!
https://r.ena.to/blog/avoiding-recompilation-hell-in-elixir-with-mix-xref/