Fork me on GitHub
#shadow-cljs
<
2022-06-25
>
pinkfrog02:06:50

I have a program that constantly watches changing js files (aka the output of shadow) and produces corresponding artifact out. What’s the recommended way to run it alongside with shadow? Should I run it and shadow in parallel, or let shadow invoke it whenever some cljs file is updated?

thheller06:06:54

@i that is entirely up to you and your personal preference. I personally don't like combining stuff and just let each tool do its thing independently. for releases I typically do npx shadow-cljs release app && other stuff

samedhi23:06:27

Is there any file that is always generated in the out/public once the compilation has finished (while using shadow-cljs watch app)? I am looking for a file that I can watch for a different (Python) integration test watcher?

thheller06:06:14

running integration tests against a watch? doesn't sound like a good idea to me?

thheller06:06:30

the output files of your build are always generated though? or the manifest.edn is too?