membrane

https://github.com/phronmophobic/membrane
genekim 2020-08-25T20:08:13.003600Z

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!!!

phronmophobic 2020-08-25T20:09:05.003900Z

the short answer is yes

phronmophobic 2020-08-25T20:09:23.004300Z

it's possible to develop with hot code reloading

phronmophobic 2020-08-25T20:09:48.004600Z

my workflow is repl based

phronmophobic 2020-08-25T20:10:34.005Z

are you trying to build a terminal UI or a desktop UI?

phronmophobic 2020-08-25T20:12:58.006Z

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

phronmophobic 2020-08-25T20:13:11.006600Z

you can just comment out that jvm option in the project.clj file