X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Foptional_http-server-restart.t;h=39f475a51ded6d125cf4d2cb5ca5d1ac6d77c317;hb=c057ae860545285e5812b5ba86ea992e203be773;hp=c3bff4fa94e56592840fb2e1529ed50ce58d1b24;hpb=7d9921b1634786926b83a7c9de0dafc69ad506d7;p=catagits%2FCatalyst-Runtime.git 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 ) {