Skip to content

Commit

Permalink
patching a bug in compliment library
Browse files Browse the repository at this point in the history
  • Loading branch information
mikub committed Mar 31, 2019
1 parent b20ea94 commit da2bcc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
[honeysql "0.9.1"]
[postgresql/postgresql "9.4.1208-jdbc42-atlassian-hosted"]
[io.titanoboa/titanoboa-java "0.1.0"]
[compliment "0.3.8"]]
[io.titanoboa/compliment "0.3.9"]]

:plugins [[lein-libdir "0.1.1"]
[lein-licenses "0.2.2"]
Expand Down
6 changes: 4 additions & 2 deletions src/clj/titanoboa/dependencies.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
[me.raynes.fs :as fs]
[clojure.java.io :as io]
[dynapath.util :as dp]
[dynapath.dynamic-classpath :as dc])
[dynapath.dynamic-classpath :as dc]
[compliment.utils])
(:import (java.io File FileOutputStream)))

(def dependencies-path-property "boa.server.dependencies.path")
Expand Down Expand Up @@ -52,7 +53,8 @@
(apply require r))
(when-let [i (:import ext-coordinates)]
(log/info "Importing external classes: " i)
(when (sequential? i) (mapv #(import %) i)))))
(when (sequential? i) (mapv #(import %) i)))
(compliment.utils/flush-caches)))

;;TODO there might be need for retry in case the file stays locked for longer?
(defrecord DepsWatcherComponent [deps-file-path stop-callback-fn last-content-atom]
Expand Down

0 comments on commit da2bcc5

Please sign in to comment.