[Koha-bugs] [Bug 31729] Enable automatic filesystem refresh in Plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 21 03:27:07 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31729

--- Comment #41 from David Cook <dcook at prosentient.com.au> ---
Comment on attachment 154605
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=154605
Bug 31729: enable plackup hot restart in ktd [Alternate]

Review of attachment 154605:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=31729&attachment=154605)
-----------------------------------------------------------------

Overall, this is looking pretty good. I think I'd just make 1 tweak.

I applied the tweak locally and then I applied some patches using "git bz". I
noticed all the regular files (and .git files) were updated and then just
restarted the server process 1 time, which was good.

::: debian/scripts/koha-plack
@@ +112,4 @@
>      fi
>  
> +    if [ "$hot_reload" = "yes" ] && [ "$KOHA_INSTANCE" = "kohadev" ] && [ -d "/kohadevbox/koha/Koha" ]; then
> +        plack_hot_reload="-R /kohadevbox/koha/Koha";

I think this should be /kohadevbox/koha since /kohadevbox/koha/Koha is only a
subset of the whole codebase

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list