We need to capture @ARGV in the restarter, for the benefit of Win32
[catagits/Catalyst-Devel.git] / lib / Catalyst / Restarter.pm
index d95a944..7a7c6ff 100644 (file)
@@ -13,6 +13,12 @@ has start_sub => (
     required => 1,
 );
 
+has argv =>  (
+    is       => 'ro',
+    isa      => 'ArrayRef',
+    required => 1,
+);
+
 has _watcher => (
     is  => 'rw',
     isa => 'File::ChangeNotify::Watcher',