[Catalyst] catalyst can be reloaded automatically in Apache?

Jonathan Rockway jon at jrock.us
Wed Nov 8 03:22:47 GMT 2006


On Tuesday 07 November 2006 20:05, Lee Standen wrote:
> There is (apparently) an option or addon for mod_perl to make this
> happen, but it's not recommended for production machines (obviously).
> It also adds some additional overhead.

I doubt that's going to work with Catalyst.  When Catalyst restarts, it 
examines all modules under M/ V/ and C/ to attempt to associate actions with 
URIs (among other things).  If you just reload the modules out from under it, 
changes aren't going to fully take effect.  In some cases, I could see it 
working.  In others, I would expect massive breakage.  Not recommended.

You should be using the dev server for development.  There's no advantage to 
using Apache in this case, it only complicates things unnecessarily.  If 
you're seeing large differences between the dev server and Apache, please 
file a bug report so we can fix the dev server.  Thanks.

Regards,
Jonathan Rockway

-- 
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://jules.scsys.co.uk/pipermail/catalyst/attachments/20061107/0410be20/attachment.pgp


More information about the Catalyst mailing list