Hot code reloading in Erlang without using an OTP release

“ Erlang supports change of code in a running system. ” However, the details are a bit fiddly. Here’s a cheat-sheet I used recently for a simple TCP service written using Erlang. My program was a single module, running outside of any OTP application context. The instructions here need minor emendation to either explicitly list modules to purge and reload or to discover all modules within a single…