This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-06
Channels
- # aleph (1)
- # beginners (180)
- # calva (16)
- # cider (29)
- # clj-kondo (47)
- # cljsrn (5)
- # clojure (40)
- # clojure-dev (39)
- # clojure-europe (1)
- # clojure-italy (25)
- # clojure-nl (9)
- # clojure-russia (1)
- # clojure-spec (8)
- # clojure-uk (83)
- # clojurescript (54)
- # core-async (2)
- # datomic (20)
- # defnpodcast (7)
- # figwheel (6)
- # fulcro (6)
- # jobs (5)
- # joker (4)
- # kaocha (4)
- # luminus (4)
- # off-topic (8)
- # onyx (6)
- # pathom (14)
- # re-frame (28)
- # reagent (30)
- # remote-jobs (2)
- # shadow-cljs (88)
- # spacemacs (2)
- # specter (17)
- # sql (25)
- # tools-deps (78)
- # xtdb (1)
- # yada (2)
I have troubles getting hot-reloading, or rather re-rendering, to work in a project I am converting from lein-figwheel. Figwheel rebuilds my pages, flashes the loading icon and prints to the console that it loads my updated namespaces. But the re-render does not happen. I have ^:figwheel-hooks
on the namespace and a function designated with ^:after-load
. But this function never seems to be called, I've added a printing to it, that never reaches the console. I'm comparing with a fresh project from the template, and can't really see where I do something different... Anyone knows where to go looking for what I've missed?
I found a difference. I was using figwheel-main 0.2.1 and the template is using 0.1.9. If I downgrade, things start to work.
OK. So back with another mystery. I have a ring-handler serving dynamic pages (rum server-side). It can serve the /
root as well, but whatever I do, it I always either get served my public/index.html (if that one is present), or the figwheel default index html code (if I remove my index.html). This happens even if use the example Host Page handler from https://figwheel.org/docs/your_own_page. What could be triggering this behaviour?