[Catalyst-commits] r10071 - Catalyst-Devel/1.00/branches/improved-restarter

autarch at dev.catalyst.perl.org autarch at dev.catalyst.perl.org
Mon May 11 01:42:53 GMT 2009


Author: autarch
Date: 2009-05-11 01:42:53 +0000 (Mon, 11 May 2009)
New Revision: 10071

Modified:
   Catalyst-Devel/1.00/branches/improved-restarter/Changes
Log:
Add changes for restarter


Modified: Catalyst-Devel/1.00/branches/improved-restarter/Changes
===================================================================
--- Catalyst-Devel/1.00/branches/improved-restarter/Changes	2009-05-11 01:33:13 UTC (rev 10070)
+++ Catalyst-Devel/1.00/branches/improved-restarter/Changes	2009-05-11 01:42:53 UTC (rev 10071)
@@ -1,5 +1,26 @@
 This file documents the revision history for Perl extension Catalyst-Devel.
 
+        - This release moves the restarter functionality into a new
+          module Catalyst::Restarter, that is not a Catalyst Engine
+          subclass.
+
+          The new restarter is simpler and more reliable, because it
+          does not try to test if a changed piece of code can be
+          compiled. It simply restarts the server whenever it detects
+          changes. This also makes it much faster.
+
+          However, this does mean that the server can simply die when
+          a changed file cannot compile. This is different than the
+          old behavior, where the server remained running without
+          incorporating the change.
+
+          Finally, the new restarter relies on File::ChangeNotify,
+          which is designed to accomodate per-OS methods of detecting
+          changed files. As of this writing, it currently ships with a
+          file watcher that uses inotify on Linux systems, and a
+          default fallback class that does everything in pure Perl.
+
+
 1.13    2009-05-11 02:50
         - add [-pidfile|-p] option for myapp_server.pl (caelum)
         - Bump dependency on Config::General (caelum)




More information about the Catalyst-commits mailing list