:advanced is only for release builds. :none is a fully supported
option. To be honest I'm a bit surprised this is not clear after going
through the documentation of either ClojureScript or lein cljsbuild.
Would be happy to hear why you had difficulty finding this information
and how we can make this point clearer.

Thanks,
David

On Wed, Nov 26, 2014 at 10:09 AM, Matthew Gertner
<[email protected]> wrote:
> My colleague was complaining about waiting ~20 seconds for his ClojureScript 
> to compile and discovered this post on Stack Overflow: 
> http://stackoverflow.com/questions/20917202/auto-building-clojurescript-files-for-compojure-app.
>  In a nutshell, compilation time goes _way_ down if `optimization` is set to 
> `:none`, but some hackery is needed to get the resulting JS to run. (I didn't 
> check yet whether `:none` is a supported value or whether any unsupported 
> value would have the same effect.)
>
> Is there some option for turning off optimization completely that we haven't 
> been able to find? If not, is there some reason not to support this? Wouldn't 
> it be possible to adapt the parser so that it emits runnable JS without any 
> optimization at all during the dev process? The compilation time speedup is 
> really significant.
>
> --
> Note that posts from new members are moderated - please be patient with your 
> first post.
> ---
> You received this message because you are subscribed to the Google Groups 
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to