disable fast reload and add make repl

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2020-05-05 10:46:19 +02:00
parent 4c360f9ea1
commit 4db9cd38e1
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 14 additions and 1 deletions

View File

@ -383,4 +383,12 @@ startdev-desktop: _startdev-desktop
re-frisk: export TARGET := clojure
re-frisk: ##@re-frisk start re-frisk server
yarn shadow-cljs run re-frisk-remote.core/start
yarn shadow-cljs run re-frisk-remote.core/start
repl-ios: export TARGET := clojure
repl-ios: ##@repl-ios start repl for ios project
yarn shadow-cljs cljs-repl ios
repl-android: export TARGET := clojure
repl-android: ##@repl-android start repl for android project
yarn shadow-cljs cljs-repl android

View File

@ -53,3 +53,8 @@
:background-color "rgba(255,0,0,0.5))"}))}]
[react/text {:style {:margin-top 10 :color (if @warning? :red colors/black)}}
@label]])))
(when ^boolean js/goog.DEBUG
(when-let [DevSettings (.-DevSettings ^js react/native-modules)]
(when (.-setHotLoadingEnabled DevSettings)
(.setHotLoadingEnabled ^js DevSettings false))))