Updated extra_args to be unshifted instead of pushed
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / HTTP / Restarter.pm
index cfe0e9a..df55656 100644 (file)
@@ -11,6 +11,9 @@ sub run {
 
     $options ||= {};
 
+    die qq/Sorry, but "restart" doesn't work together with "fork".\n/
+      if $options->{fork};
+
     # Setup restarter
     my $restarter;
     my $parent = $$;