I am looking to make use of Erlang\'s hot code swapping feature on a gen_server, so that I don\'t have to restart it. How should I do that? When I searched, all I could find
If you want to do it the right way, which is highly recommended, then you need to read up on the use of OTP Supervisors and Applications.
You could do worse than to read the OTP Design Principles User's Guide here :
http://www.erlang.org/doc/design_principles/users_guide.html