This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-27
Channels
- # announcements (2)
- # babashka (24)
- # beginners (116)
- # cider (7)
- # cljsrn (6)
- # clojure (38)
- # clojure-bay-area (4)
- # clojure-europe (3)
- # clojure-losangeles (1)
- # clojure-norway (10)
- # clojurescript (171)
- # datomic (16)
- # honeysql (3)
- # improve-getting-started (1)
- # introduce-yourself (2)
- # java (12)
- # malli (5)
- # membrane (2)
- # pedestal (3)
- # shadow-cljs (79)
- # spacemacs (6)
- # xtdb (10)
Is there something like the wrap-reload
middleware for Pedestal? I’ve read the guide here http://pedestal.io/pedestal/0.7-pre/guides/live-repl.html but it seems to involve heavy refactoring of things into vars and functions
There isn’t anything specific as yet; working on something is in the back of my mind. The challenge is that you want one behavior for REPL development, and a different behavior for production. One possibility would be to always start with a function that supplies the routing, and add a concept of a mode (dev vs. prod) that decides whether to unpack the routes once, or on every request.
👍 1