r12983@zaphod: kd | 2008-04-28 18:10:27 +1000
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / HTTP / Restarter.pm
index 8e5c8c0..0cae243 100644 (file)
@@ -2,6 +2,7 @@ package Catalyst::Engine::HTTP::Restarter;
 
 use Moose;
 extends 'Catalyst::Engine::HTTP';
+
 use Catalyst::Engine::HTTP::Restarter::Watcher;
 
 around run => sub {
@@ -18,8 +19,8 @@ around run => sub {
         close STDOUT;
 
         my $watcher = Catalyst::Engine::HTTP::Restarter::Watcher->new(
-            directory => (
-                $options->{restart_directory} ||
+            directory => ( 
+                $options->{restart_directory} || 
                 File::Spec->catdir( $FindBin::Bin, '..' )
             ),
             follow_symlinks => $options->{follow_symlinks},
@@ -67,6 +68,7 @@ around run => sub {
     }
 
     return $self->$orig( $class, $port, $host, $options );
+    no Moose;
 };
 
 1;
@@ -96,11 +98,7 @@ L<Catalyst::Engine>.
 
 =head1 AUTHORS
 
-Sebastian Riedel, <sri@cpan.org>
-
-Dan Kubb, <dan.kubb-cpan@onautopilot.com>
-
-Andy Grundman, <andy@hybridized.org>
+Catalyst Contributors, see Catalyst.pm
 
 =head1 THANKS