This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-28
Channels
- # beginners (122)
- # boot (5)
- # cider (30)
- # clojure (16)
- # clojure-berlin (1)
- # clojure-dev (7)
- # clojure-spec (2)
- # clojure-uk (31)
- # clojurescript (3)
- # core-async (1)
- # cursive (5)
- # hoplon (38)
- # keechma (1)
- # leiningen (4)
- # off-topic (9)
- # onyx (2)
- # re-frame (32)
- # reagent (3)
- # reitit (11)
- # rum (1)
- # shadow-cljs (187)
- # spacemacs (3)
- # tools-deps (9)
- # uncomplicate (15)
- # vim (2)
HI, I’m playing around with a keechma app. really cool, but im having an issue with hot reloading. I’m using shadow-cljs as opposed to figwhell, but I’ve verified that the reload function is being called. I get ‘restart’ printed to the console, when I make an update, but I don’t see corresponding changes in the UI code unless i refresh the page. I’ve verified that the reload code will be executed
(defn dev-setup []
(when ^boolean js/goog.DEBUG
(enable-console-print!)
(println "dev mode")))
(defn reload []
(let [current @running-app]
(println "RESTART")
(if current
(app-state/stop! current start-app!)
(start-app!))))
(defn ^:export main []
(dev-setup)
(start-app!))