Re: [ClojureScript] Re: REPL setup help

2017-08-03 Thread Colin Fleming
Hi Rob, I'll follow up with you about this to your message on the Cursive list, since it's getting pretty Cursive specific. Cheers, Colin On 4 August 2017 at 00:25, Rob Nikander wrote: > I got this working, but I'm seeing very strange behavior that makes it > unusable.

Re: [ClojureScript] Re: REPL setup help

2017-08-03 Thread Rob Nikander
I got this working, but I'm seeing very strange behavior that makes it unusable. IntelliJ can hang and overuse CPU on certain expressions. It will happen, for example, if I type the following in the IntelliJ Cursive REPL connected to Figwheel/ClojureScript... cljs.user=> (deftype Foo [a])

Re: [ClojureScript] Re: REPL setup help

2017-07-31 Thread Colin Fleming
Hi Rob, So using Maven, those instructions should work pretty much as-is, since the clojure.main style REPL it uses just uses the classpath from IntelliJ, it doesn't use lein for anything fancy. The only part which I don't know about is compiling ClojureScript from Maven - I actually didn't even

Re: [ClojureScript] Re: REPL setup help

2017-07-31 Thread Rob Nikander
Okay, thanks, I will try figwheel. I'm using Maven not Leiningen so I'll need to find time later to translate those instructions. On my test project here I could use Leiningen, but on another, Maven is entrenched. On Monday, July 31, 2017 at 6:16:30 PM UTC-4, Colin Fleming wrote: > > In fact,

Re: [ClojureScript] Re: REPL setup help

2017-07-31 Thread Colin Fleming
In fact, Figwheel has a page dedicated to Cursive: https://github.com/bhauman/lein-figwheel/wiki/Running-figwheel-in-a-Cursive-Clojure-REPL. I agree that if you're doing browser development, you almost certainly want to be using figwheel. On 1 August 2017 at 02:58, Ikuru Kanuma

[ClojureScript] Re: REPL setup help

2017-07-31 Thread Ikuru Kanuma
Hi Rob, Perhaps following this README will help? It should work as long as you have a working repl + can add this as a dependency. Figwheel will give you hot code reloading + a cljs repl + lot of other goodies and is really popular. https://github.com/bhauman/lein-figwheel/tree/master/sidecar