Use Plack::Loader and push the running of plack back into the engine code. Unsure...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / ScriptRole.pm
index ac79b43..153c55e 100644 (file)
@@ -60,8 +60,7 @@ sub _run_application {
     my $self = shift;
     my $app = $self->application_name;
     Class::MOP::load_class($app);
-    my $psgi_app = $app->run($self->_application_args);
-    Plack::Runner->run('--app' => $psgi_app);
+    $app->run($self->_application_args);
 }
 
 1;