use Plack::App::File;
use Plack::Runner;
+use Try::Tiny;
use Moo::Role;
has _static_handler => (is => 'lazy');
$r->run;
}
+sub _run_dev_checkall {
+ my ($self) = @_;
+ my $ps = $self->pages;
+ foreach my $path ($ps->all_paths) {
+ try {
+ $ps->get({ path => $path });
+ print "OK ${path}\n";
+ } catch {
+ print "ERROR ${path}\n";
+ print " $_";
+ };
+ }
+}
+
1;