Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
add shadow dev reload hook, remove ^:dev/always
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurC committed Dec 5, 2023
1 parent 01fbd49 commit 540810e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion shadow-cljs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
:output-dir "resources/public/js"
:asset-path "/js"
:modules {:main {:entries [dev] :init-fn dev/start!}}
:build-hooks [(shadow.cljs.build-report/hook {:output-to "target/build_report.html"})
:build-hooks [(hyperfiddle.electric.shadow-cljs.hooks/reload-clj)
(shadow.cljs.build-report/hook {:output-to "target/build_report.html"})
#_(user/rcf-shadow-hook)]}

:prod
Expand Down
2 changes: 1 addition & 1 deletion src-dev/dev.cljc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns ^:dev/always dev ; rebuild everything when any file changes. Will fix
(ns dev
(:require [contrib.assert :refer [check]]
[contrib.clojurex :refer [bindx]]
#?(:clj [contrib.datomic-contrib :as dx])
Expand Down

0 comments on commit 540810e

Please sign in to comment.