<p dir="ltr">Hi,<br>
Do not know, but a better approach would be a gen_event attached to code_server where everyone could add its own handler. Mho.<br>
As far many people need to know if some app or modules are upgraded or downgraded, this is maybe something to ask as new feature in the bug tracker ?<br>
</p>
<div class="gmail_quote">Le 3 nov. 2015 3:52 PM, Benoit Chesneau <bchesneau@gmail.com> a écrit :<br type='attribution'><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br /><div class="elided-text"><div dir="ltr">On Mon, Nov 2, 2015 at 11:44 PM PAILLEAU Eric <<a href="mailto:eric.pailleau@wanadoo.fr">eric.pailleau@wanadoo.fr</a>> wrote:<br /></div><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">Le 02/11/2015 16:53, Benoit Chesneau a écrit :<br />
> I am for now polling from time to time the applications I have<br />
> registered to watch if one have been upgraded and then optionally<br />
> discover some resources from it. But I am wondering if there is a bette<br />
> way to know if an application have been upgraded, or restarted from<br />
> another application.<br />
><br />
> Or rather what would be the more efficient way to do it?<br />
Hi Benoit,<br />
this thread may help ?<br />
<br />
<a href="http://erlang.org/pipermail/erlang-questions/2015-June/084873.html">http://erlang.org/pipermail/erlang-questions/2015-June/084873.html</a><br />
<br />
regards<br />
<br />
<br /></blockquote><div><br /></div><div><br /></div><div>Thanks for the link! Looks like it could work for my case. </div><div><br /></div><div>But doesn't it prevent the usage of dbg later? Or any pro-active tracing while running?</div><div><br /></div><div>- benoit</div></div></div>
</blockquote></div>