[Bps-public-commit] r17157 - Prophet/branches/actions/lib/Prophet

jesse at bestpractical.com jesse at bestpractical.com
Tue Dec 9 15:14:14 EST 2008


Author: jesse
Date: Tue Dec  9 15:14:13 2008
New Revision: 17157

Modified:
   Prophet/branches/actions/lib/Prophet/Server.pm

Log:
* Added Module::Refresh as a devel tool

Modified: Prophet/branches/actions/lib/Prophet/Server.pm
==============================================================================
--- Prophet/branches/actions/lib/Prophet/Server.pm	(original)
+++ Prophet/branches/actions/lib/Prophet/Server.pm	Tue Dec  9 15:14:13 2008
@@ -9,6 +9,7 @@
 use Params::Validate qw/:all/;
 use File::ShareDir qw//;
 use File::Spec ();
+use Module::Refresh;
 use Cwd ();
 use JSON;
 
@@ -70,7 +71,9 @@
     my ( $self, $cgi ) = validate_pos( @_, { isa => 'Prophet::Server' }, { isa => 'CGI' } );
     $self->cgi($cgi);
 
-   
+    if ($ENV{'PROPHET_DEVEL'}) {    Module::Refresh->refresh(); }
+
+
     my $controller = Prophet::Server::Controller->new(cgi => $self->cgi, app_handle => $self->app_handle); 
     $controller->handle_actions();
 



More information about the Bps-public-commit mailing list