Commit e0ae539 1 parent 5e2c93f commit e0ae539 Copy full SHA for e0ae539
File tree 6 files changed +65
-57
lines changed
6 files changed +65
-57
lines changed Original file line number Diff line number Diff line change 2156
2156
:data $ {}
2157
2157
|T $ {} ( :type :leaf ) ( :id |SkipXq8geAB- ) ( :text |println ) ( :by |root ) ( :at 1500541010211 )
2158
2158
|j $ {} ( :type :leaf ) ( :id |Hyh679IegASZ ) ( :text "|\" Code updated." ) ( :by |root ) ( :at 1500541010211 )
2159
+ |b $ {} ( :type :leaf ) ( :by |B1y7Rc-Zz ) ( :at 1596973318897 ) ( :text |^:dev/after-load ) ( :id |JTfRJVKH2y )
2159
2160
|mount-target $ {} ( :type :expr ) ( :id |BkpTXqIleASW ) ( :by nil ) ( :at 1500541010211 )
2160
2161
:data $ {}
2161
2162
|T $ {} ( :type :leaf ) ( :id |HJAa7qIllRrW ) ( :text |def ) ( :by |root ) ( :at 1500541010211 )
4145
4146
:data $ {}
4146
4147
|T $ {} ( :type :leaf ) ( :by |B1y7Rc-Zz ) ( :at 1593255076725 ) ( :text |clear-twig-caches! ) ( :id |BTUqyb3x4D )
4147
4148
:id |mJ_7cI3g2
4149
+ |b $ {} ( :type :leaf ) ( :by |B1y7Rc-Zz ) ( :at 1596973330918 ) ( :text |^:dev/after-load ) ( :id |YeN8edjDY )
4148
4150
|*reader-reel $ {} ( :type :expr ) ( :id |SkrNzg8-eAHb ) ( :by nil ) ( :at 1500541255553 )
4149
4151
:data $ {}
4150
4152
|T $ {} ( :type :leaf ) ( :id |HkU4MeUWgRrb ) ( :text |defonce ) ( :by |root ) ( :at 1500541255553 )
Original file line number Diff line number Diff line change 19
19
"author" : " jiyinyiyong" ,
20
20
"license" : " MIT" ,
21
21
"dependencies" : {
22
- "md5" : " ^2.2.1 " ,
22
+ "md5" : " ^2.3.0 " ,
23
23
"randomcolor" : " ^0.6.2" ,
24
24
"shortid" : " ^2.2.15" ,
25
25
"ws" : " ^7.3.1"
26
26
},
27
27
"devDependencies" : {
28
28
"feather-icons" : " ^4.28.0" ,
29
29
"node-notifier" : " ^7.0.2" ,
30
- "shadow-cljs" : " ^2.10.17 " ,
30
+ "shadow-cljs" : " ^2.10.21 " ,
31
31
"source-map-support" : " ^0.5.19" ,
32
32
"url-parse" : " ^1.4.7"
33
33
}
Original file line number Diff line number Diff line change 5
5
[mvc-works/hsl " 0.1.2" ]
6
6
[mvc-works/shell-page " 0.1.15" ]
7
7
[mvc-works/ws-edn " 0.1.3" ]
8
- [cumulo/recollect " 0.6.2 " ]
8
+ [cumulo/recollect " 0.6.3 " ]
9
9
[cumulo/reel " 0.2.0" ]
10
10
[cumulo/util " 0.1.12" ]
11
- [respo " 0.13.0 " ]
11
+ [respo " 0.13.3-a1 " ]
12
12
[respo/ui " 0.3.15" ]
13
13
[respo/alerts " 0.5.5" ]
14
14
[respo/message " 0.3.6" ]
15
15
[respo/feather " 0.1.1" ]
16
- [cirru/bisection-key " 0.1.5 " ]
16
+ [cirru/bisection-key " 0.1.6-a2 " ]
17
17
[cirru/favored-edn " 0.1.3" ]
18
18
[medley " 1.3.0" ]
19
19
[applied-science/js-interop " 0.2.7" ]
30
30
:modules {
31
31
:client {:init-fn app.client/main!}
32
32
}
33
- :devtools {:after-load app.client/reload!}
34
33
:release {:output-dir " dist/" }
35
34
:build-options {:manifest-name " assets.edn" }
36
35
}
37
36
:server {
38
37
:target :node-script , :output-to " target/server.js" , :main app.server/main!
39
38
:devtools {
40
- :after-load app.server/reload!, : build-notify cumulo-util.build-info/on-build!
39
+ :build-notify cumulo-util.build-info/on-build!
41
40
:preloads [cumulo-util.build-info]
42
41
}
43
42
:release {:output-to " dist/server.js" }
Original file line number Diff line number Diff line change 69
69
(on-page-touch #(if (nil? @*store) (connect! )))
70
70
(println " App started!" ))
71
71
72
- (defn reload! [] (clear-cache! ) (render-app! render!) (println " Code updated." ))
72
+ (defn ^:dev/after-load
73
+ reload!
74
+ []
75
+ (clear-cache! )
76
+ (render-app! render!)
77
+ (println " Code updated." ))
Original file line number Diff line number Diff line change 99
99
(js/process.on " SIGINT" on-exit!)
100
100
(repeat! 600 #(persist-db! )))
101
101
102
- (defn reload! []
102
+ (defn ^:dev/after-load
103
+ reload!
104
+ []
103
105
(println " Code updated." )
104
106
(clear-twig-caches! )
105
107
(reset! *reel (refresh-reel @*reel initial-db updater))
You can’t perform that action at this time.
0 commit comments