I’ve been thinking how to proceed with the ClojureScript nREPL Example I’ve been toying with for the past week. There are a few things on my mind.
For some reason my ClojureScript surrounding doesn’t care as much about having a great REPL experience as my Clojure friends. Everyone mentions it’s either not stable, or difficult to setup, or they just rely on Figwheel’s file watcher (which is awesome btw). If only this works for anyone else except myself, and they start to work in a more REPL-ish way, I’d be so happy!
I’m blown away that reloading after eval was so close to reality. Adam, if you’re reading this, thank you so much for the direction and encouragement!
I’d like for any ClojureScript project to be able to use this simple middleware as a single import and a single line of configuration. I don’t yet how to do it.
I’ve seen that evaluate-and-reload works instantly where figwheel’s file watcher would take a few seconds. That’s not even taking into consideration that you have all of the application runtime state at yout fingertips.
I’ve made an improvement today when there would be only one result after an eval via nREPL. Previously it would give two results, because the
handler would be called twice.