Fork me on GitHub
#clojurescript
<
2016-06-05
>
iwankaramazow08:06:13

@arohner: There are really good reasons for this. Speed being of primary importance. Fast reload times are important.

darwin18:06:16

I’ve been dancing for quite some time around a pesky issue in cljs compiler I believe. My tests look like this[1] and that code desugars into one giant go block with long list of async calls (yep, those <!* things) I’m running into cljs compiler stack overflow errors when the list of async calls gets too long. I had to introduce chunkify macro[2] which works around it by breaking large go block into multiple smaller ones. I have a feeling that this could be related to CLJS-365[3] or something similar, because the number of commands where it breaks is 18 which is close enough to 20 🙂 Any insights? [1] https://github.com/binaryage/dirac/blob/master/test/browser/fixtures/src/tests/dirac/tests/tasks/suite01/completions.cljs [2] https://github.com/binaryage/dirac/commit/cce56470975a287c0164e6f79cd525d6ed27a543#diff-db6e7d7c1fc803fc1e362d704dce1d5bR30 [3] http://dev.clojure.org/jira/browse/CLJS-365

joost-diepenmaat18:06:36

aren't docstrings supposed to be excluded when building a production cljs app with advanced compilation?

dnolen19:06:15

@joost-diepenmaat: docstrings become JS comments, and yes those will be removed

dnolen19:06:30

if you have docstring strings in your advanced output it’s because you’re dumping vars somewhere

dnolen19:06:08

make sure you aren’t doing that or accidentally including your test namespaces etc.

joost-diepenmaat19:06:53

@dnolen: yeah I just figured out I seem to be building a different build (or multiple ones)

joost-diepenmaat19:06:31

having a hard time ensuring lein ring uberwar includes the correct (and only the correct) build.

joost-diepenmaat19:06:26

tweaking leiningen really is no fun at all

mfikes19:06:10

You can now fool around with cljs.spec in the Replete iOS ClojureScript REPL https://twitter.com/mfikes/status/739539963222560770

dnolen19:06:53

@joost-diepenmaat: fwiw this is why I usually don’t try to get Lein to do everything - usually some combination of bash + Lein to do what I want.

dnolen19:06:32

or bash + plain old Maven

bhauman20:06:06

Hey all, don't forget to give the new figwheel 0.5.4-SNAPSHOT a try. Perfect thing to do on a Sunday ... I'll take reports here if anyone has immediate problems.

bhauman20:06:15

I'm trying to eliminate some of the library load conflicts. I think I have eliminated/fixed a big part of the problem.

pat21:06:51

@bhauman: new warnings in repl are awesome

bhauman21:06:08

excellent 🙂

pat21:06:35

@mathpunk if you're ending the process after compiling your file, then you need to send whatever result you want to stdout in order to see it when node exits. Console.log works

pat21:06:54

In your script handle it same as the error.