re-natal/resources/cljs/main_dev.cljs
Artur Girenko 577f7c6954 add support for configuring server host to support Android simulators
- Genymotion simulator should use 10.0.3.2 instead of localhost
- Stock android emulator should use 10.0.2.2 instead of localhost
2015-12-06 20:22:53 +01:00

16 lines
375 B
Clojure

(ns ^:figwheel-no-load env.$PLATFORM$.main
(:require [$PROJECT_NAME_HYPHENATED$.$PLATFORM$.core :as core]
[figwheel.client :as figwheel :include-macros true]))
(enable-console-print!)
(figwheel/watch-and-reload
:websocket-url "ws://$DEV_HOST$:3449/figwheel-ws"
:heads-up-display false
:jsload-callback core/mount-root)
(core/init)
(core/mount-root)