[Catalyst-commits] r9273 - Catalyst-Devel/1.00/trunk/lib/Catalyst
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Tue Feb 10 04:44:00 GMT 2009
Author: rafl
Date: 2009-02-10 04:44:00 +0000 (Tue, 10 Feb 2009)
New Revision: 9273
Modified:
Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm
Log:
Add a -background cli option to the dev server.
Closes RT#43077. Patch by duncan_j_ferguson at yahoo.co.uk.
Modified: Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm
===================================================================
--- Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm 2009-02-09 10:46:03 UTC (rev 9272)
+++ Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm 2009-02-10 04:44:00 UTC (rev 9273)
@@ -937,6 +937,7 @@
my $restart_regex = '(?:/|^)(?!\.#).+(?:\.yml$|\.yaml$|\.conf|\.pm)$';
my $restart_directory = undef;
my $follow_symlinks = 0;
+my $background = 0;
my @argv = @ARGV;
@@ -952,6 +953,7 @@
'restartregex|rr=s' => \$restart_regex,
'restartdirectory=s@' => \$restart_directory,
'followsymlinks' => \$follow_symlinks,
+ 'background' => \$background,
);
pod2usage(1) if $help;
@@ -976,6 +978,7 @@
restart_regex => qr/$restart_regex/,
restart_directory => $restart_directory,
follow_symlinks => $follow_symlinks,
+ background => $background,
} );
1;
@@ -1007,6 +1010,7 @@
(defaults to '[SCRIPT_DIR]/..')
-follow_symlinks follow symlinks in search directories
(defaults to false. this is a no-op on Win32)
+ -background run the process in the background
See also:
perldoc Catalyst::Manual
perldoc Catalyst::Manual::Intro
More information about the Catalyst-commits
mailing list