Skip to content

Commit

Permalink
Update boot-reload and use new target-path option (#6)
Browse files Browse the repository at this point in the history
Implicit `:target-path` env property has been removed in Boot 2.7.0 and to fix this Boot-reload as a new task option
  • Loading branch information
Deraen authored and martinklepsch committed Dec 15, 2016
1 parent fe8f65b commit 31ab09d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.boot
Expand Up @@ -7,7 +7,7 @@
[weasel "0.7.0" :scope "test"]
[adzerk/boot-cljs "1.7.228-1" :scope "test"]
[adzerk/boot-cljs-repl "0.3.3" :scope "test"]
[adzerk/boot-reload "0.4.12" :scope "test"]])
[adzerk/boot-reload "0.4.13" :scope "test"]])

(require
'[adzerk.boot-cljs :refer [cljs]]
Expand All @@ -27,7 +27,8 @@
(cljs-repl :ids #{"renderer"})
(reload :ids #{"renderer"}
:ws-host "localhost"
:on-jsload 'app.renderer/init)
:on-jsload 'app.renderer/init
:target-path "target")
;; Compile renderer =========================================
(cljs :ids #{"renderer"})
;; Compile JS for main process ==============================
Expand Down

0 comments on commit 31ab09d

Please sign in to comment.