From 544e07339702362bce7beb9ad48f95a6a1ca9d27 Mon Sep 17 00:00:00 2001 From: Mason James Date: Tue, 11 Oct 2022 05:44:45 +1300 Subject: [PATCH] Bug 31729: Enable automatic filesystem refresh in Plack (2) Content-Type: text/plain; charset="utf-8" updating mojo psgi file too, (not sure how to test patch) --- app.psgi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.psgi b/app.psgi index 0824a3ebc6..7c6b3f6232 100644 --- a/app.psgi +++ b/app.psgi @@ -57,6 +57,9 @@ builder { enable '+Koha::Middleware::SetEnv'; enable '+Koha::Middleware::RealIP'; + # bz 31729, enable filesystem reload for dev plack + enable "Refresh", cooldown => 3 if ($ENV{DEV_INSTALL} ; + sub { my $env = shift; $env->{'koha.app'}->($env); -- 2.20.1