This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-18
Channels
- # announcements (7)
- # babashka (4)
- # babashka-sci-dev (73)
- # beginners (101)
- # biff (4)
- # calva (33)
- # clerk (36)
- # clj-commons (23)
- # clj-kondo (3)
- # clojure (38)
- # clojure-europe (2)
- # clojurescript (29)
- # datalevin (15)
- # emacs (2)
- # fulcro (8)
- # gratitude (1)
- # hugsql (9)
- # hyperfiddle (43)
- # jobs-discuss (4)
- # lsp (47)
- # malli (7)
- # off-topic (14)
- # pathom (5)
- # practicalli (1)
- # releases (7)
- # shadow-cljs (4)
- # spacemacs (6)
- # sql (7)
- # tools-deps (7)
- # transit (8)
- # xtdb (6)
I want to share a tool that I’ve been building and using myself
https://github.com/keychera/panas.reload — a hot reload tool for serving html/css with just babashka, this can also hot reload server that returns html, as well as htmx (since this tool relies heavily on htmx)
If you’ve ever used org.babashka/http-server
to serve static html/css before, this has a variant that adds hot reload that you can install directly via bbin
Hey. First, my feedback. I'm not familiar with babashka, maybe bacause of that, panas.reload doesn't work for me right away. But that's ok. Second, I love the idea of a standalone tool for html hot reloading, so, do you accept pull requests? Third, if yes, I'd like to add support of .edn files, so we could convert and write hiccup instead of html.
I'll gladly accept pull request! @U03RQQ5E8Q1 Standalone tools is a nice idea since this tool currently needs babashka (and bbin) to install and use like a standalone
Well, by standalone I mean a jar or a babashka redistributable thing, independent of IDE. There's a live reload plugin for VS Code, but I'd like to edit html or hiccup in emacs. If not hiccup, it could be written in golang and be compiled to a single binary executable without dependencies.
oh, I see! I think babashka project can be made a single executable using this method specified here but I haven’t explored it yet https://github.com/babashka/babashka/wiki/Self-contained-executable
https://github.com/clojure/math.combinatorics 0.2.0 - Efficient, functional algorithms for generating lazy sequences for common combinatorial functions • MCOMB-11 - Fix incorrect results, overflow in partitions-M