This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-08-25
Channels
- # announcements (2)
- # babashka (35)
- # beginners (74)
- # calva (26)
- # cider (14)
- # clojure (74)
- # clojure-dev (27)
- # clojure-europe (9)
- # clojure-italy (2)
- # clojure-nl (2)
- # clojure-spec (10)
- # clojure-uk (9)
- # clojuredesign-podcast (6)
- # clojurescript (40)
- # data-science (1)
- # datalog (7)
- # events (1)
- # figwheel-main (13)
- # fulcro (11)
- # graalvm (58)
- # helix (4)
- # jobs (4)
- # jobs-discuss (9)
- # kaocha (23)
- # malli (5)
- # meander (112)
- # membrane (7)
- # off-topic (13)
- # pedestal (2)
- # re-frame (4)
- # reitit (1)
- # rewrite-clj (1)
- # rum (2)
- # sci (3)
- # shadow-cljs (79)
- # sql (12)
- # tools-deps (17)
- # vim (15)
- # vrac (11)
- # xtdb (6)
Hi, @smith.adriane — hope all goes well with you. Marveling again at your work on membrane and re-frame. Digging into the app I want to build. Sorry if I asked before, and you answered — couldn’t find any trace of our interactions on the Clojurians Slack archive…
I’m again inside your membrane-re-frame-example
app, and I’m wondering if there’s any ability to get “hot code reloading” capabilities — I.e., make a change to a view, and have it show up without having to restart the app (e.g., “lein run -m membrane-re-frame-example.views”).
If no, is there a way to reload the view from a REPL session? (And if so, my head immediately takes me to creating a file watcher, and auto-running that command.). Thanks!!!
the short answer is yes
it's possible to develop with hot code reloading
my workflow is repl based
are you trying to build a terminal UI or a desktop UI?
I think someone else ran into this issue before and the problem was https://github.com/phronmophobic/membrane-re-frame-example/blob/master/project.clj#L10 direct linking is useful when compiling using graalvm, but it breaks the reloads from the repl
you can just comment out that jvm option in the project.clj
file