[Catalyst-commits] r9816 - Catalyst-Devel/1.00/branches/improved-restarter/lib/Catalyst

autarch at dev.catalyst.perl.org autarch at dev.catalyst.perl.org
Fri Apr 24 02:14:29 GMT 2009


Author: autarch
Date: 2009-04-24 03:14:28 +0100 (Fri, 24 Apr 2009)
New Revision: 9816

Modified:
   Catalyst-Devel/1.00/branches/improved-restarter/lib/Catalyst/Helper.pm
Log:
Cannot run in the background when also watching for file changes and restarting.


Modified: Catalyst-Devel/1.00/branches/improved-restarter/lib/Catalyst/Helper.pm
===================================================================
--- Catalyst-Devel/1.00/branches/improved-restarter/lib/Catalyst/Helper.pm	2009-04-24 02:13:43 UTC (rev 9815)
+++ Catalyst-Devel/1.00/branches/improved-restarter/lib/Catalyst/Helper.pm	2009-04-24 02:14:28 UTC (rev 9816)
@@ -1022,6 +1022,9 @@
 if ( $restart ) {
     require Catalyst::Restarter;
 
+    die "Cannot run in the background and also watch for changed files.\n"
+        if $background;
+
     my %args;
     $args{watch_directory} = $watch_directory
         if defined $watch_directory;




More information about the Catalyst-commits mailing list