Renan learned things the hard way, so you don't have to! With Elixir's diverse nature, it's often unclear why sometimes changing a single line in a single file triggers the recompilation of 100 other files - a core aspect of which this talk aims to clarify.
This recording mainly refers to struggles with recompilations of 500+ files in a 2000+ .beam file Phoenix app. This deep dive explores what happens when you type "mix compile", why and when modules need to be recompiled and how compilation behavior interacts with umbrella apps. Also, Renan provides tools to use and how to avoid common pitfalls.Embedded content: https://youtu.be/hqaxMZAwbBA
Share on Social