Then you need construct your REPL with:

(repl/repl env :warn-on-undeclared true)

David

On Thu, Apr 19, 2012 at 2:27 PM, Mark Engelberg <mark.engelb...@gmail.com>wrote:

> lein-cljsbuild's trampoline tasks for starting REPLs are not working for
> me (I reported this in another thread).  Seems to be a problem with lein's
> batch file for Windows not properly handling spaces in directories that
> relate to plugins.
>
> So I do lein repl (I've configured the project file with additional
> classpaths that point into the clojurescript libs and src directories).
>
> Then, I do:
> (require '[cljs.repl :as repl])
> (require '[cljs.repl.rhino :as rhino]) ;; require the rhino implementation
> of IJavaScriptEnv
> (def env (rhino/repl-env)) ;; create a new environment
> (repl/repl env) ;; start the REPL
>
> The clojurescript is freshly cloned from git as of last night, using:
>
> git clone git://github.com/clojure/clojurescript.git
>
>
>
> On Thu, Apr 19, 2012 at 11:13 AM, David Nolen <dnolen.li...@gmail.com>wrote:
>
>> How are you starting the REPL? What version of ClojureScript? Are you
>> using lein-cljsbuild?
>>
>>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to