And start the app correctly(ish) under the restarter - really not sure args are perse...
[catagits/Catalyst-Runtime.git] / 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;