Hi,
Thank you for the hint.
I was taking some more time to look at other products and finally saw that
luminus just uses ring.server.standalone/serve which supports auto reload
for templates and clj code.
So I just created two different components, one for development and one for
runtime which
I've had the same question. What I've come up with is to introduce a new
middleware in the the dev-system, which wraps the both the creation of the
app handler and calling the handler with the request map. The prod-system
would still refer directly to a single instance of the app handler.
Now i
Hi,
This is something that I am struggling for some time and I still don't know
how to solve it.
For dynamic reloading in web development there is this common pattern:
(def app (app-handler
[home-routes user-routes base-routes]
:middleware (load-middleware)
:ring