This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-24
Channels
- # announcements (39)
- # aws (4)
- # babashka (18)
- # beginners (32)
- # biff (10)
- # calva (22)
- # clj-kondo (11)
- # clj-on-windows (2)
- # cljs-dev (20)
- # clojure (31)
- # clojure-europe (130)
- # clojure-norway (21)
- # clojure-spec (24)
- # clojure-uk (17)
- # clojured (2)
- # clojurescript (6)
- # conjure (1)
- # core-async (5)
- # cursive (11)
- # datalevin (1)
- # datomic (9)
- # emacs (24)
- # figwheel-main (42)
- # fulcro (6)
- # gratitude (6)
- # honeysql (8)
- # juxt (16)
- # kaocha (6)
- # lsp (235)
- # malli (2)
- # nbb (7)
- # off-topic (23)
- # other-languages (24)
- # pedestal (7)
- # reitit (6)
- # sci (1)
- # shadow-cljs (21)
- # tools-build (22)
- # tools-deps (57)
- # vim (24)
I'll try later today to package it as an app to scoop, but please be patient with me. Takes me ages to finish anything.
Cool!
Any plans on supporting live-reloading when assets change (like npx live-server
), or is the go-to solution for that still to message the browser that it should reload itself?
Not sure yet. My solution to that was to use etaoin to view the site and then reload the browser
Note - I haven't really given the etaoin path a chance, so that might be a better option. Link for the lazy: https://github.com/clj-commons/etaoin
I guess, since httpkit supports websockets, we could inject some websocket to signal a page refresh and have some extensibility to reload the page or so
but this might be a nice experiment for someone who really wants to figure that out
Blogged about #babashka-cli https://blog.michielborkent.nl/babashka-cli.html
I'm not a CSS expert but if you know how to improve that, a PR to my blog is welcome
Looks like you've really made what I'd like in a CLI lib - a thin layer to easily expose functions on the command line.
Babashka http-server is now available on scoop (Windows). If you have installed the scoop clojure bucket, then you can run:
scoop install bb-http-server
and then run:
http-server
to serve static assets! Thanks @ales.najmann