https://kotlinlang.org logo
Title
s

Saša Šijak

05/13/2020, 4:39 AM
1 more question. Is there a way to add auto reload functionality on code changes?
s

s4nchez

05/13/2020, 5:15 AM
@Saša Šijak that’s not something we support directly in http4k. Personally, I don’t have a use case for it (90% of dev i see is done with in memory http via tests; deployments are 100% immutable), but am happy to document an approach if people are able to get it working for their context.
s

Saša Šijak

05/13/2020, 5:40 AM
Even for server generated pages (using templates and such)? I see the logic for rest apis though
d

dave

05/13/2020, 6:03 AM
we do have HotReload on serverside templating, yes.
j

James Richardson

05/14/2020, 10:26 PM
For hot code reloading theres some cool stuff in openrndr ... not sure it's a core thing, but their pattern may be interesting. Check out Olive in https://openrndr.org/