[erlang-questions] Code upgrade messages

Dániel Szoboszlay dszoboszlay@REDACTED
Fri Jun 5 10:48:06 CEST 2015


I don't know about any such notifications, but you can simply trace the
code_server process. It will send a {code_server, {module, M}} message
right after loading module M.


2015-06-05 10:17 GMT+02:00 Marc Worrell <marc@REDACTED>:

> Hi,
> For Zotonic we would love to be able to know if any Erlang module got a
> code upgrade (by loading a new version).
> This because we use the list of exported functions to hook the module into
> the internal notification systems.
> Is it possible to have a process that receives a code-upgrade notification
> for any module in the running Erlang beam.smp?
> Best,
> Marc
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150605/cc6c8caf/attachment.htm>

More information about the erlang-questions mailing list