[erlang-questions] compile several modules from shell

Filippo Pacini <>
Tue Dec 1 16:26:39 CET 2009


Hi Roberto,
I'm not sure if this can help.

Mochiweb has a module that during development automatically reloads
updated beams.

You can find it here:
http://code.google.com/p/mochiweb/source/browse/trunk/src/reloader.erl

cheers,
Filippo

Roberto Ostinelli wrote:
>> What you are really asking is "how can I change the default commands
>> in the shell?"
> 
> hello joe,
> 
> thank you for the refreshing explanation on this, however i did read
> your book :)
> 
> what i'm really asking is:
> 
> "if i change code and re-compile a module on a local erlang node, what
> must i do so that the newly re-compiled .beam is also reloaded in
> another local erlang node?"
> 
> :)
> 
> therefore: must i understand from your answer that the only way is to
> actually use rpc and other procedures to refresh the code on all
> nodes?
> 
> r.
> 
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
> 
> 



More information about the erlang-questions mailing list