X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FScript%2FServer.pm;h=9438f050a31c0fc8143139f94e0ca4237d23c4d6;hb=10255473102b269c35c8b9c8d3368bc962aa16e7;hp=df781342a5e6abb40e5a0eb6c568a439fde6ab0e;hpb=883c37ef13bcc69f7523a2a2e785795fd2b6f2aa;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Script/Server.pm b/lib/Catalyst/Script/Server.pm index df78134..9438f05 100644 --- a/lib/Catalyst/Script/Server.pm +++ b/lib/Catalyst/Script/Server.pm @@ -134,7 +134,7 @@ has follow_symlinks => ( sub _restarter_args { my $self = shift; - my %args = ( + return ( argv => $self->ARGV, start_sub => sub { $self->_run_application }, ($self->_has_follow_symlinks ? (follow_symlinks => $self->follow_symlinks) : ()), @@ -142,8 +142,6 @@ sub _restarter_args { ($self->_has_restart_directory ? (directories => $self->restart_directory) : ()), ($self->_has_restart_regex ? (filter => $self->restart_regex) : ()), ); - - return %args; } sub run {