In general the REPL is the development feature and advanced compilation is for production quality builds. I do not think it is possible (or even a good idea) to use a REPL with optimized builds as they do not allow for any kind of incremental updates.
HTH, /thomas On Wednesday, November 5, 2014 7:57:51 AM UTC+1, Asim Jalis wrote: > I am able to get the ClojureScript browser REPL to work when I set > :optimization :whitespace in project.clj. However, when I set :optimizations > :advanced I get this error on the browser console: > > Uncaught TypeError: Cannot read property 'Jf' of undefined hello.js:6587 > > I have created a minimal repro with a project.clj, hello.cljs, and hello.html > files at https://gist.github.com/asimjalis/65a8149d8297e3cfdb50 > > If someone could take a look and let me know if I am missing something > obvious. > > Is the browser REPL only intended for use without advanced optimizations? Or > should it work with both? > > Thanks! > > Asim -- 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 clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.