X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Foptional_http-server-restart.t;h=39f475a51ded6d125cf4d2cb5ca5d1ac6d77c317;hp=c3bff4fa94e56592840fb2e1529ed50ce58d1b24;hb=65b708a697de08be81bf212704d495e8cad41ed2;hpb=7bf342486846ff902822a01c8df4689bfa7a6a6f diff --git a/t/optional_http-server-restart.t b/t/optional_http-server-restart.t index c3bff4f..39f475a 100644 --- a/t/optional_http-server-restart.t +++ b/t/optional_http-server-restart.t @@ -13,6 +13,7 @@ use FindBin; use LWP::Simple; use IO::Socket; use IPC::Open3; +use Catalyst::Engine::HTTP::Restarter::Watcher; use Time::HiRes qw/sleep/; eval "use Catalyst::Devel 1.0;"; @@ -68,6 +69,9 @@ my @files = ( "$FindBin::Bin/../t/tmp/TestApp/lib/TestApp/Controller/Immutable.pm", ); +push(@files, "$FindBin::Bin/../t/tmp/TestApp/lib/TestApp/Controller/Immutable/HardToReload.pm") + if Catalyst::Engine::HTTP::Restarter::Watcher::DETECT_PACKAGE_COMPILATION(); + # change some files and make sure the server restarts itself NON_ERROR_RESTART: for ( 1 .. 20 ) {