This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-14
Channels
- # ai (4)
- # babashka (4)
- # beginners (46)
- # biff (5)
- # calva (12)
- # clojure (6)
- # clojure-austin (13)
- # clojure-dev (27)
- # clojure-europe (62)
- # clojure-nl (1)
- # clojure-norway (17)
- # clojure-spec (2)
- # clojure-uk (12)
- # clojurescript (10)
- # cursive (3)
- # datahike (26)
- # datalevin (9)
- # datomic (7)
- # gratitude (4)
- # honeysql (9)
- # hyperfiddle (12)
- # instaparse (2)
- # lsp (65)
- # membrane (7)
- # missionary (2)
- # off-topic (8)
- # polylith (33)
- # portal (7)
- # quil (1)
- # re-frame (4)
- # reagent (18)
- # releases (3)
- # ring (3)
- # spacemacs (2)
- # specter (4)
Has anybody looked into automatically refreshing the browser when a change is made? Seems like that would be a "quality-of-life" improvement when developing, maybe with something like https://github.com/weavejester/ring-refresh.
it's been on my todo list for a while: https://github.com/jacobobryant/biff/issues/117 -- for about 2 years in fact! I should probably bump that up in priority since it's been brought up by a handful of people.
I just pushed a refresh-on-save
branch that uses htmx websockets to refresh the web page whenever files are saved: https://github.com/jacobobryant/biff/commit/26c043e93f9cbc6531a7f48cbe9673a248e11fbe
If there was a compilation error, that will be displayed on the web page instead of refreshing. I'll think of better names + clean this up and release it with Biff at some point; in the mean time you can go ahead and apply the changes from that commit to your own project(s).
Just made a release with this actually: https://github.com/jacobobryant/biff/discussions/188. I re-implemented it as a component so you only have to change a couple lines in your project.
I just pushed a refresh-on-save
branch that uses htmx websockets to refresh the web page whenever files are saved: https://github.com/jacobobryant/biff/commit/26c043e93f9cbc6531a7f48cbe9673a248e11fbe
If there was a compilation error, that will be displayed on the web page instead of refreshing. I'll think of better names + clean this up and release it with Biff at some point; in the mean time you can go ahead and apply the changes from that commit to your own project(s).
Just made a release with this actually: https://github.com/jacobobryant/biff/discussions/188. I re-implemented it as a component so you only have to change a couple lines in your project.