mirror of
https://github.com/status-im/status-react.git
synced 2025-02-25 09:05:55 +00:00
[Fix #2986] Figwheel reloads env.android.main / env.ios.main on every file change
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
This commit is contained in:
parent
5f02e4287f
commit
1b563a59cc
2
env/dev/run.clj
vendored
2
env/dev/run.clj
vendored
@ -1,4 +1,4 @@
|
||||
(ns dev-run
|
||||
(ns ^:figwheel-no-load dev-run
|
||||
(:use [figwheel-api]))
|
||||
|
||||
(start)
|
||||
|
@ -32,14 +32,14 @@
|
||||
:source-paths ["src" "env/dev"]
|
||||
:cljsbuild {:builds
|
||||
{:ios
|
||||
{:source-paths ["react-native/src" "src"]
|
||||
{:source-paths ["react-native/src" "src" "env/dev"]
|
||||
:figwheel true
|
||||
:compiler {:output-to "target/ios/app.js"
|
||||
:main "env.ios.main"
|
||||
:output-dir "target/ios"
|
||||
:optimizations :none}}
|
||||
:android
|
||||
{:source-paths ["react-native/src" "src"]
|
||||
{:source-paths ["react-native/src" "src" "env/dev"]
|
||||
:figwheel true
|
||||
:compiler {:output-to "target/android/app.js"
|
||||
:main "env.android.main"
|
||||
|
Loading…
x
Reference in New Issue
Block a user