shadow-cljs

https://github.com/thheller/shadow-cljs | https://github.com/sponsors/thheller | https://www.patreon.com/thheller
Chris McCormick 2021-02-16T01:25:11.234700Z

is there a way to run a script like you would with lumo? e.g. similar to npx shadow-cljs run ... except for .cljs files. so it would compile and then execute the script with node.

thheller 2021-02-16T08:29:13.235800Z

no, that would be terrible experience. rather slow startup due to having the JVM startup. just build it with :node-script and once its built you don't need shadow-cljs or the compiler at all anymore

2021-02-16T12:41:14.236300Z

@chris358 The same way we can do with vanilla CLJS? clj -M -m cljs.main -t node -o main.js -i example.cljs

👍 1