[erlang-questions] When is code_change triggered?

Adam Kelly <>
Fri Jun 27 01:04:22 CEST 2008


2008/6/26 tsuraan <>:
> I can live with restarting my erl shells to test code fixes, but it just doesn't seem like it should be
> necessary.

It's not necessary!

Just doing "c(test)." is enough to get the new version loaded and in
use.  The code_change function
will never be called (unless you use the release handler stuff), but
your new code is loaded and working.

Adam.



More information about the erlang-questions mailing list