Erlang Mailing Lists

Author Message

<  Erlang questions mailing list  ~  can one reload all modules files in repos at each start

rasmussen.bryan at gmail.
Posted: Thu Oct 27, 2005 2:07 pm Reply with quote
Guest
Hi,
As I'm doing a bunch of editing in repos I would like to just force a
reload of all modules/files, recompilation etc. at each repos:start.
can that be done?


Post generated using Mail2Forum (http://m2f.sourceforge.net)
Thomas Lindgren
Posted: Thu Oct 27, 2005 2:24 pm Reply with quote
User Joined: 09 Mar 2005 Posts: 284
--- bryan rasmussen <rasmussen.bryan@gmail.com> wrote:

> Hi,
> As I'm doing a bunch of editing in repos I would
> like to just force a
> reload of all modules/files, recompilation etc. at
> each repos:start.
> can that be done?

Vladimir Sekissov once wrote a fine utility/function
that enables you to reload the modules that have
changed since last loaded. (It doesn't work perfectly,
but for the usual case it's fine.)

I rewrote this mildly, and now use l() and nl() all
the time. I have enclosed the relevant parts of my
user_default. Feel free to use it as you will.

Best,
Thomas



__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs

Post generated using Mail2Forum (http://m2f.sourceforge.net)
View user's profile Send private message
rfjacob
Posted: Tue Dec 21, 2010 9:54 am Reply with quote
Joined: 21 Dec 2010 Posts: 1
To reload all modules, i've written the below line in the erlang shell:

lists:map(fun({M, _L}) -> l(M) end, code:all_loaded()).

Try it and tell me the result.

Thanks a lot ...
Best regards ...
Rimon.
View user's profile Send private message
wuji
Posted: Mon Sep 17, 2012 7:17 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
is too afraid to borrow the money," says Chai Ling, Ling, cheap replica designer *beep* Ling, "because she has no idea how she could pay
back." Nor does she have any guarantee the government won't won't [h4]jordan 11[/h4] won't ask for more money in the future. "That is
psychological pressure she is under," says Chai Ling. "It becomes becomes jordan concord becomes a money making operation for the government."Cao told ABC
she very much wanted to keep her baby, but she she cheap jordan shoes she was unsure of what do to. For Cao, waiting
the Saturday deadline is torture, but every moment is also also [h3]jordan concord[/h3] also precious for the expectant mother.Obama Defends Immigrant Deportation Rules
as PoliticalThe President Announces a Change Likely to Please Hispanic Hispanic cheap replica designer *beep* Hispanic VotersBy MATT NEGRIN AND PIERRE THOMASJune 15, 2012 President
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum