cljs.build.api/build takes "an optional source parameter". What is a source parameter?
Thanks for the explanation!
in other places its called inputs. basically any place it can find sources to compile. may just be a single file, directory, etc. its a protocol in cljs.closure
if none is given it defaults to the classpath IIRC
On a similar subject, are there any good resources that explain the cljs.repl API? I'm attempting to send a form to a browser REPL environment for evaluation, but there doesn't appear to be much documentation on this. I'm currently reading through the source code and experimenting at the REPL, but it's slow going.
After playing around with this a little, I think the best approach might be to use cljs.repl/repl with custom :read and :print functions that read and write to some sort of queue or channel. There doesn't seem to be any simpler way, as communicating with the browser is complected with creating a REPL.
maybe take a look at cljs.server.browser to see how the socket REPL version works?