From 8b0b166ab8499457007c82ffb02517908cd28379 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) updating mojo psgi file too, (not sure how to test patch) Signed-off-by: Martin Renvoize --- 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