This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-23
Channels
- # announcements (5)
- # beginners (14)
- # bigdata (1)
- # calva (13)
- # cider (10)
- # clj-kondo (53)
- # cljs-dev (1)
- # cljsrn (12)
- # clojure (67)
- # clojure-uk (8)
- # clojuredesign-podcast (3)
- # clojurescript (53)
- # duct (4)
- # emacs (1)
- # events (1)
- # figwheel-main (5)
- # fulcro (9)
- # graalvm (68)
- # graphql (3)
- # joker (3)
- # juxt (4)
- # off-topic (32)
- # other-languages (1)
- # pathom (35)
- # re-frame (6)
- # rum (1)
- # shadow-cljs (52)
- # spacemacs (3)
- # sql (10)
- # tools-deps (15)
@nomiskatz I think we’ve implemented this only for load-file
. I’ll have to check. I have some vague memory that we wanted to make it possible to eval either in the last REPL or in both REPLs for both commands, but we never finished this.
@bozhidar Thanks. I’ve made a note to look into this — will probably be in a few days.
I see we have this in the manual https://docs.cider.mx/cider/basics/clojurescript.html#_working_with_cljc_files but it’s a bit vague even for me. 🙂
I am running a project with figwheel, and want to be able to see code changes reload in the browser as well as evaluate things in my emacs buffer; I ran cider-jack-in-clj&cljs which launched the browser and shows changes in the browser (cool!), and I can evaluate (+ 1 1) in the buffer, but evaluating (ns whip.core (:require [reagent.core :as reagent :refer [atom]]))
throws Unhandled java.lang.IllegalAccessError atom does not exist
thoughts?
at this point, all I want to do is to be able to see changes in the browser and play/troubleshoot code snippets in a (comment ) form in a buffer (not the REPL... baffled by the seemingly popular awkwardness of that) but the amazingly growing set of options/documentation around figwheel, figwheel-main, shadow-cljs, and so on has me totally confused at this point.
I can eval forms, but the import statement seems to fail in the cljs buffer.