Fork me on GitHub

^^ I mean a form from a .cljc file.


@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.


Might be a good idea to check the tickets for this, and potentially file one.


@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 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.


That is a jvm error and you’re trying to load cljs dependencies into it


Can you try that in the cljs repl?