[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to reload a module if a code change was made
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 6 Sep 2007 09:46:31 -0300
> I was bebugging the changes in my script and noticed I letf some
> unneeded code in my module functions, so I removed it and "Reloaded"
> my main script, that includes the modules, using require().
I think you need to unrequire the modules. See
http://lua-users.org/lists/lua-l/2006-06/msg00071.html
http://lua-users.org/lists/lua-l/2006-07/msg00350.html