Make everything which used to inherit CAF use the MX::Emulate::CAF role + test
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / HTTP / Restarter / Watcher.pm
index 9ad126e..18ce316 100644 (file)
@@ -1,6 +1,8 @@
 package Catalyst::Engine::HTTP::Restarter::Watcher;
 
 use Moose;
+with 'MooseX::Emulate::Class::Accessor::Fast';
+
 use File::Find;
 use File::Modified;
 use File::Spec;
@@ -11,7 +13,7 @@ has regex => (is => 'rw');
 has modified => (is => 'rw');
 has directory => (is => 'rw');
 has watch_list => (is => 'rw');
-has follow_simlinks => (is => 'rw');
+has follow_symlinks => (is => 'rw');
 
 no Moose;
 
@@ -147,7 +149,7 @@ files
 
     my $watcher = Catalyst::Engine::HTTP::Restarter::Watcher->new(
         directory => '/path/to/MyApp',
-        regex     => '\.yml$|\.yaml$|\.pm$',
+        regex     => '\.yml$|\.yaml$|\.conf|\.pm$',
         delay     => 1,
     );
     
@@ -178,9 +180,7 @@ L<Catalyst>, L<Catalyst::Engine::HTTP::Restarter>, L<File::Modified>
 
 =head1 AUTHORS
 
-Sebastian Riedel, <sri@cpan.org>
-
-Andy Grundman, <andy@hybridized.org>
+Catalyst Contributors, see Catalyst.pm
 
 =head1 THANKS