[ClojureScript] Re: SSL Websocket REPL connection closes spontaneously

2019-02-04 Thread Rob Nikander
Thanks. I couldn't get `websocket_*` settings to work (I guess I need to recompile nginx), but `proxy_*` settings, also mentioned on that page, appear to be working. On Monday, February 4, 2019 at 3:00:56 AM UTC-6, Phill Wolf wrote: > > Don't know. What about websocket_connect_timeout ##;

[ClojureScript] SSL Websocket REPL connection closes spontaneously

2019-02-03 Thread Rob Nikander
Hi, Does anyone use a websocket REPL over SSL, or do you all develop over plain HTTP and then use HTTPS only in production where you don't have the clojurescript REPL? In my development environment, my web page is served over HTTPS. So if I tried the following line, the browser blocks the

[ClojureScript] Old "critical" bug in core.async?

2019-01-26 Thread Rob Nikander
I was trying (again) to learn and use core.async. I noticed this and it worried me: https://dev.clojure.org/jira/browse/ASYNC-73 A bug marked "critical" that's unfixed for 4.5 years? Does it mean that certain things in core.async cannot be fixed? Rob -- Note that posts from new members are

Re: [ClojureScript] Re: problem with cljs, local dependencies, and src path

2019-01-04 Thread Rob Nikander
On Tuesday, January 1, 2019 at 1:00:07 PM UTC-6, Victor Gil wrote: > > Rob: Have you tried shadow-cljs? It has greatly simplified project setup > and compilation for me. > No I haven't. I may try it later, if I can get the basics working first. -- Note that posts from new members are

[ClojureScript] Re: problem with cljs, local dependencies, and src path

2018-12-30 Thread Rob Nikander
On Sunday, December 30, 2018 at 3:27:21 PM UTC-6, Phill Wolf wrote: > > By the way, is there a deps.edn in the hello2 directory? > Yes, there is. I was just working on this again I think I figured it out. Two things confused me. Maybe it's working as intended, but it seems these could be

[ClojureScript] problem with cljs, local dependencies, and src path

2018-12-29 Thread Rob Nikander
Hi, I'm seeing some strange behavior trying to start a cljs project. I'm using a deps.edn file, and if set the path to something like `:paths ["src/clj"]`, then the cljs compiler can't find local dependencies. For example, a project with this in deps.edn this will fail to compile: {:paths

[ClojureScript] make cljsbuild/figwheel skip .clj files

2017-12-30 Thread Rob Nikander
I have a single source tree under src/main/clj that contains files ending in .clj, .cljs, and .cljc (clojure, clojurescript, and mixed). This was working fine, but something changed and now figwheel is popping up pink error panels with "Couldn't load Clojure file...", referring to .clj files

Re: [ClojureScript] lein, clojurescript, and Java 9?

2017-12-05 Thread Rob Nikander
On Tuesday, December 5, 2017 at 7:03:32 PM UTC-5, Andy Fingerhut wrote: > > Try lein 2.8.1, if you are using any other version of Leiningen. There > are known issues with Leiningen versions less than that, combined with Java > 9. > Looks like I'm running it already. $ lein version

[ClojureScript] lein, clojurescript, and Java 9?

2017-12-05 Thread Rob Nikander
Hi, Is this supposed to work? It works with Java 8, but when I use Java 9 I get the error below. Rob $ java -version java version "9.0.1" ... $ lein cljsbuild auto Watching for changes before compiling ClojureScript... Compiling 17 source files to /Users/rob/[...]/target/default/classes

[ClojureScript] Stacktrace in REPL?

2017-10-12 Thread Rob Nikander
I have a REPL connected to the browser. I wrote a function called `test1`, called it from the REPL, and got an error. Is there a way to see a stack trace? Typing `*e` as I would in normal Clojure REPL did not work. => (test1) #object[TypeError TypeError: null is not an object (evaluating

Re: [ClojureScript] Re: REPL setup help

2017-08-03 Thread Rob Nikander
translate things like :source-paths to the Maven > equivalent which should be straightforward. > > Cheers, > Colin > > On 1 August 2017 at 11:23, Rob Nikander <rob.ni...@gmail.com > > wrote: > >> Okay, thanks, I will try figwheel. I'm using Maven not Lein

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,

[ClojureScript] REPL setup help

2017-07-30 Thread Rob Nikander
Hi, I'm new to ClojureScript. I followed the quick start instructions [1] and set up a REPL. It works, but now I'd like to integrate a REPL with my web app and IDE. Any pointers? I have a Java servlet container, also running Clojure code. I'm using IntelliJ with Cursive plugin, and have REPL