And start the app correctly(ish) under the restarter - really not sure args are perse...
Tomas Doran [Mon, 5 Oct 2009 22:17:11 +0000 (22:17 +0000)]
lib/Catalyst/Script/Server.pm

index 1c3cf99..e40da5e 100644 (file)
@@ -150,8 +150,8 @@ sub run {
 
         my $restarter = $subclass->new(
             %args,
-            start_sub => sub { $self->_run },
-            argv      => \$self->ARGV,
+            start_sub => sub { $self->_run_application },
+            argv      => $self->ARGV,
         );
 
         $restarter->run_and_watch;