I apologize for this seemingly stupid question, but I\'ve been playing with ClojureScript on and off for a few weeks now, and I can\'t figure out this one simple question:
UPDATED: Using the compiler directly is now straightforward. But lein-cljsbuild is still very useful.
Use lein-cljsbuild. You can write different builds (testing, development, release). You can auto-watch files so they recompile quickly as you change them. You can easily use browser repl to evaluate code directly in the browser. You can manage dependencies.
Specifically related to your question - lein-cljsbuild also passes along sensible warning defaults to the compiler so that you get verbose and accurate warnings before you actually run the code in the browser.