This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-07
Channels
- # announcements (11)
- # babashka (29)
- # beginners (70)
- # biff (13)
- # calva (1)
- # clojure (24)
- # clojure-europe (125)
- # clojure-nl (1)
- # clojure-norway (7)
- # clojure-portugal (2)
- # clojure-uk (3)
- # clojurescript (9)
- # core-async (29)
- # cursive (4)
- # emacs (10)
- # etaoin (14)
- # events (3)
- # fulcro (10)
- # funcool (4)
- # helix (1)
- # honeysql (12)
- # introduce-yourself (1)
- # jobs (2)
- # juxt (2)
- # lsp (1)
- # off-topic (17)
- # polylith (58)
- # portal (20)
- # remote-jobs (2)
- # shadow-cljs (2)
- # squint (4)
- # tools-deps (9)
Is there any way to automatically reload the squint generated ES6 modules in the browser, preferably without a full page reload? I always had the gut feeling, that ES modules are not reload-friendly. After reading this article about ES6 module loading and instantiation, I getting more convinced, it is the case: https://hacks.mozilla.org/2018/03/es-modules-a-cartoon-deep-dive/ I secretly hoping there is some not-too-hacky way to have a figwheel-level experience... I saw ppl experimented with adding some modification time as query string, to reload a module, but they would still need to patch the original/previous one...
I was using modd+devd combo in the past, but devd is not compiling on recent nixpkgs version, so I'm in search for an alternative 1. https://github.com/cortesi/modd 2. https://github.com/cortesi/devd I guess, we should just have a babashka solution. I think there is already a partial implementation throughout @borkdude tweets :)
@onetom Frameworks like next.js / vite etc have this problem solved, but not sure how to do it without those frameworks.
@onetom Have you tried https://livejs.com/?