Skip to content

Commit

Permalink
Removed default optimization in order to allow non optimized compilat…
Browse files Browse the repository at this point in the history
…ion.
  • Loading branch information
dedeibel committed Feb 25, 2012
1 parent cac6170 commit 1463321
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Put `cljs-watch` on your $PATH (such as in /usr/local/bin) and then simply run i
cljs-watch

#it can also take a directory and compile options
cljs-watch -s cljs-src/ '{:optimizations :none :output-to "test.js"}'
cljs-watch -s cljs-src/ '{:optimizations :simple :pretty-print true :output-to "test.js"}'

#you can enable terminal bell ringing or even a custom command upon completed compile
cljs-watch -b -s cljs-src/
Expand Down
4 changes: 1 addition & 3 deletions cljs-watch
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,7 @@ exec java -server clojure.main -e \
f (SimpleDateFormat. \"HH:mm:ss\")]
(.format f (.getTime c))))
(def default-opts {:optimizations :simple
:pretty-print true
:output-dir \"resources/public/cljs/\"
(def default-opts {:output-dir \"resources/public/cljs/\"
:output-to \"resources/public/cljs/bootstrap.js\"})
(def ANSI-CODES
Expand Down
4 changes: 1 addition & 3 deletions src/cljs_watch/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
f (SimpleDateFormat. "HH:mm:ss")]
(.format f (.getTime c))))

(def default-opts {:optimizations :simple
:pretty-print true
:output-dir "resources/public/cljs/"
(def default-opts {:output-dir "resources/public/cljs/"
:output-to "resources/public/cljs/bootstrap.js"})

(def ANSI-CODES
Expand Down

0 comments on commit 1463321

Please sign in to comment.