Permalink
Browse files

use millis to match gh-282

  • Loading branch information...
1 parent dd65a46 commit 14586237df102e7667746fa0acfdc77759de849f @cemerick cemerick committed Jan 10, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 support/src/cljsbuild/compiler.clj
View
4 support/src/cljsbuild/compiler.clj
@@ -23,9 +23,9 @@
(def green (colorizer foreground-green))
(defn- elapsed [started-at]
- (let [elapsed-us (- (. System (nanoTime)) started-at)]
+ (let [elapsed-us (- (System/currentTimeMillis) started-at)]
(with-precision 2
- (str (/ (double elapsed-us) 1000000000) " seconds"))))
+ (str (/ (double elapsed-us) 1000) " seconds"))))
(defn- notify-cljs [command message colorizer]
(when (seq (:shell command))

0 comments on commit 1458623

Please sign in to comment.