[erlang-questions] Unloading all modules from ERL session

Gustav Simonsson <>
Thu Jun 13 09:30:01 CEST 2013


Hi,

If this is for development, you may want to look at these two tools:

https://github.com/oinksoft/reloader
https://github.com/rustyio/sync

Cheers,
Gustav


On Thu, Jun 13, 2013 at 9:23 AM, <> wrote:

> Hi,
>
> If an Erlang session on command prompt is running and I call a function
> from a module, the module gets loaded. If I realize that there is a bug,
> and while leaving the erl session running, change the code and recompile
> the module and amny other modules, the older version of the module remains
> loaded in teh erl session.
>
> How do I unload all loaded modules so that the newly compiled modules get
> loaded the next time I invoke the function in the erl session, the new code
> takes effect?
>
> Thanks,
> Yash
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130613/bb5883a7/attachment-0001.html>


More information about the erlang-questions mailing list