## broken now, WHY?!
-has app => (
- #traits => [qw(NoGetopt)],
+has _app => (
+ reader => 'app',
+ init_arg => 'app',
+ traits => [qw(NoGetopt)],
isa => 'Str',
is => 'ro',
- required => 1,
+ required => 0,
);
has restart => (
pod2usage() if $self->help;
my $app = $self->app;
+ warn "App is $app";
Class::MOP::load_class($app);
$app->run(
$self->listen, $self->host,
## because this is a test
use lib "$Bin/../../../lib";
use Catalyst::ScriptRunner;
-Catalyst::ScriptRunner->run('Catalyst','Server');
+Catalyst::ScriptRunner->run('TestApp','Server');