We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e141c6f + f688aa8 commit c15eb54Copy full SHA for c15eb54
shadow-cljs.edn
@@ -5,5 +5,4 @@
5
:builds {:app {:output-dir "target/"
6
:asset-path "."
7
:target :browser
8
- :modules {:main {:init-fn app.main/main!}}
9
- :devtools {:after-load app.main/reload!}}}}
+ :modules {:main {:init-fn app.main/main!}}}}}
src/app/main.cljs
@@ -9,6 +9,6 @@
(defn main! []
10
(println "[main]: loading"))
11
12
-(defn reload! []
+(defn ^:dev/after-load reload! []
13
(println "[main] reloaded lib:" lib/c lib/d)
14
(println "[main] reloaded:" a b))
0 commit comments