 (ns example.core
   (:require
-   [figwheel.client :as fw :include-macros true]
+   #_[figwheel.client :as fw :include-macros true]
+   [example.client :as fw]
    [example.cube]
    [crate.core]))
 


;; start the app once
(defonce start-ex2 (ex2-start))

;; this is a better way to reload the cube example
;; (defonce start-cube (example.cube/stop-and-start-ex3))

;; IMPORTANT!!!
;; Here we start the websocket listener
(fw/watch-and-reload
 :websocket-url "ws://localhost:3449/figwheel-ws"
 :jsload-callback (fn []
                    (ex2-restart)
                    ;; this is a better way to reload the cube example
                    ;; which will reload even for non-local changes
                    ;; (example.cube/stop-and-start-ex3)
                    ))

;; You should see the changed statement printed out in the console of
;; your web inspector.

(println "This is a reloaded print statement: modify me now.")

;; Example 1:  simple crate based app

