[Catalyst] Can I dynamicly reload the modified module without restart the server

Sebastian Riedel sri at oook.de
Wed Aug 31 19:31:51 CEST 2005


Am 31.08.2005 um 14:30 schrieb Christopher H. Laco:

> Sean Davis wrote:
>
>> On 8/31/05 7:52 AM, "rogerz" <octopuz at gmail.com> wrote:
>>
>>> It's boring to restart http server time and again during  
>>> debuging. Is there a
>>> way to dynamicly reload the modified module?
>>>
>> Are you using apache?  If so, see here:
>> http://perl.apache.org/docs/2.0/api/Apache2/Reload.html#Synopsis
>> There is a version for mod_perl 1, also.
>> Sean
>>
>
> I thought I heard mention before that this doesn't work with Catalyst.
> It may repload the module as as far as Apache is concerned, by  
> Catalyst would probably be unaware of the changes...like changing  
> the name of an action and such.

No it's not possible with Catalyst, since we keep stateful data,  
which is the reason Catalyst dispatching is so fast. ;)
But there are some hacks you might like at http:// 
dev.catalyst.perl.org/wiki/ReStart


--
sebastian




More information about the Catalyst mailing list