(ns cglossa.dev
  (:require [cglossa.core :as core]
            [figwheel.client :as figwheel :include-macros true]
            [cljs.core.async :refer [put!]]
            [weasel.repl :as weasel]))

(enable-console-print!)

(figwheel/watch-and-reload
  :websocket-url "ws://localhost:3449/figwheel-ws"
  :jsload-callback (fn [] (core/main)))

(weasel/connect "ws://localhost:9001" :verbose true)

(core/main)

(ns cglossa.dev
  (:require [cglossa.core :as core]
            [reagent.core :refer [force-update-all]]
            [figwheel.client :as figwheel :include-macros true]
            [cljs.core.async :refer [put!]]
            [weasel.repl :as weasel]))

(enable-console-print!)

(figwheel/watch-and-reload
  :websocket-url "ws://localhost:3449/figwheel-ws"
  :jsload-callback (fn [] (force-update-all)))

(weasel/connect "ws://localhost:9001" :verbose true)

(core/main)

Call force-update-all on file saved
Call force-update-all on file saved

textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa,textlab/glossa