Skip to content

Commit 842fc89

Browse files
committed
Change task order to the sequence described in dirac's doc
1 parent f1f6278 commit 842fc89

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/powerlaces/boot_cljs_devtools.clj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@
7070
(format "Nrepl's :port (%s) and Dirac's [:nrepl-server :port] (%s) are not the same."
7171
(:port nrepl-opts) (get-in dirac-opts [:nrepl-server :port])))
7272
(comp
73-
(apply repl (mapcat identity nrepl-opts))
7473
(boot/with-pre-wrap fileset
75-
@start-dirac-once
7674
(doseq [f (relevant-cljs-edn @prev fileset ids)]
7775
(let [path (boot/tmp-path f)
7876
in-file (boot/tmp-file f)
@@ -82,7 +80,10 @@
8280
(reset! prev fileset)
8381
(-> fileset
8482
(boot/add-resource tmp)
85-
(boot/commit!))))))
83+
(boot/commit!)))
84+
(apply repl (mapcat identity nrepl-opts))
85+
(boot/with-pass-thru _
86+
@start-dirac-once))))
8687

8788
(comment
8889
(require '[powerlaces.boot-cljs-devtools :as dvt])

0 commit comments

Comments
 (0)