This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-08
Channels
- # aleph (11)
- # arachne (7)
- # aws (1)
- # bangalore-clj (4)
- # beginners (24)
- # boot (128)
- # bristol-clojurians (23)
- # cider (1)
- # cljs-dev (43)
- # cljsrn (6)
- # clojure (178)
- # clojure-austin (3)
- # clojure-chicago (1)
- # clojure-dusseldorf (14)
- # clojure-finland (15)
- # clojure-france (6)
- # clojure-italy (18)
- # clojure-portugal (2)
- # clojure-russia (67)
- # clojure-spec (148)
- # clojure-uk (55)
- # clojurescript (199)
- # core-async (4)
- # cursive (18)
- # datascript (5)
- # datomic (120)
- # devcards (3)
- # dirac (53)
- # emacs (11)
- # events (3)
- # gsoc (7)
- # jobs (1)
- # lein-figwheel (25)
- # leiningen (5)
- # lumo (12)
- # off-topic (29)
- # om (174)
- # om-next (2)
- # onyx (7)
- # perun (10)
- # protorepl (6)
- # re-frame (12)
- # remote-jobs (1)
- # ring (19)
- # ring-swagger (25)
- # rum (6)
- # spacemacs (13)
- # sql (3)
- # untangled (88)
- # yada (7)
Not sure about logging level, but you could throw a (.clear js/console)
into whatever you've got running on figwheel's :on-jsload
i find that often it's just easier to close lein with figwheel and start from scratch than try to refresh a hundred times the browser so it maybe updates the code that is running
and it still running the old file with the old functions, drawing on the canvas stuff that are no longer present anywhere in the code
@isak thanks, i will re read that, there will be certainly some stuff that will help. However my issue is not about state, but actual running code. If I have some code that is drawing something on a canvas, then I remove that code and restart lein with figwheel, why am I seeing the removed code still drawing stuff on the canvas?
well it depends how it is added. If you add a function foo
, then call (js/setTimeout foo 100000), but then remove that function, I'd expect any code reloader to still execute it, right? @ashnur
@ashnur if the original browser environment is still running, then yea, because it has already been mutated
i refreshed the browser window then the server was down, so it was showing that it can't connect
@ashnur I've seen that too, I suspect it's browser caching related