Fork me on GitHub
#off-topic
<
2021-12-26
>
borkdude11:12:32

I've created a #nix channel.

🚀 2
nix 3
teodorlu15:12:28

Is there a clojure -X drop-in replacement for npx live-server? Context: I'm building a static page, and I'd like to avoid depending on NPM. https://github.com/teodorlu/subcons.teod.eu/blob/master/bin/live-server

teodorlu15:12:13

I suspect there might be better channels for this - suggestions welcome :)

teodorlu15:12:15

@borkdude does your script reload html based on changes in the file system, or just serve html?

borkdude15:12:54

@teodorlu it just serves, but I have a different solution for that. I launch a browser and reload the browser instead.

borkdude15:12:05

automatically I mean

teodorlu15:12:26

Interesting

teodorlu15:12:31

Thanks for the suggestion - I might go your route. I already have some watch logic in Clojure (based on previous tips from you - thanks for that). And pulling in a bunch of Javascript dependencies just to provide browser hotloading... is perhaps more complex than it needs to be. 🙌