Fork me on GitHub
#shadow-cljs
<
2022-01-23
>
steveb8n23:01:36

Q: is it possible to pause the shadow :cljs-watch without disconnecting hot-reloading clients? @thheller

steveb8n23:01:18

I have a code generator which touches a lot of source files and I want to pause the watch during generation.

steveb8n23:01:40

if I use start/stop the the clients lose hot reload

steveb8n00:01:02

found a solution. shadow/watch-set-autobuild! works. unless there is a better option?

thheller06:01:09

what better option would there be? doesn't this do exactly what you want?

steveb8n11:01:22

Correct. This does what I need. Was just checking I'm using it correctly. Thanks.