From: Devin Austin Date: Sat, 4 Jul 2009 00:56:16 +0000 (+0000) Subject: restart_delay HAZ OPSHUN X-Git-Tag: 5.80014_02~113 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=70871584677bfb28254d882331974b22fd8f95da;p=catagits%2FCatalyst-Runtime.git restart_delay HAZ OPSHUN --- diff --git a/lib/Catalyst/Script/Server.pm b/lib/Catalyst/Script/Server.pm index bd23bd5..e64ecce 100644 --- a/lib/Catalyst/Script/Server.pm +++ b/lib/Catalyst/Script/Server.pm @@ -82,7 +82,14 @@ has restart => ( required => 0 ); -has restart_delay => ( isa => 'Int', is => 'ro', required => 0 ); +has restart_delay => ( + traits => [qw(Getopt)], + cmd_aliases => 'rdel', + isa => 'Int', + is => 'ro', + required => 0 +); + has restart_regex => ( isa => 'Str', is => 'ro', required => 0 ); has follow_symlinks => ( isa => 'Bool', is => 'ro', required => 0 );