diff --git a/misc/plack/koha.psgi b/misc/plack/koha.psgi index b0cd20a390..b8d72b0dc0 100644 --- a/misc/plack/koha.psgi +++ b/misc/plack/koha.psgi @@ -52,6 +52,8 @@ use C4::Tags; # FIXME use Devel::Size 0.77; # 0.71 doesn't work for Koha my $watch_capture_regex = '(C4|Koha)'; +C4::Context->disable_syspref_cache; + sub watch_for_size { my @watch = map { s/^.*$watch_capture_regex/$1/; s/\//::/g; s/\.pm$//; $_ } # fix paths