Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use millis to match gh-282

  • Loading branch information...
commit 14586237df102e7667746fa0acfdc77759de849f 1 parent dd65a46
@cemerick cemerick authored
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))
Please sign in to comment.
Something went wrong with that request. Please try again.