conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
tzzh 2020-09-30T17:19:22.028600Z

Hey, I don’t know if it’s coming from babashka or conjure but it seems that I am not always seeing stuff getting printed to the stderr when using conjure with bb for example

(println "Hello, STDOUT!")

(binding [*out* *err*]
  (println "Hello, STDERR!"))
gives me the following output in the output buffer
; --------------------------------------------------------------------------------
; eval (current-form): (println "Hello, STDOUT!")
; (out) Hello, STDOUT!
nil
; --------------------------------------------------------------------------------
; eval (current-form): (binding [*out* *err*] (println "Hello, S...
nil
(I do see both in my nrepl terminal tab that I started with bb --nrepl-server)

tzzh 2020-09-30T17:20:30.029100Z

it does work for me with a normal clojure repl though

borkdude 2020-09-30T17:27:01.029700Z

Might be an issue with babashka.nrepl, if it works with a normal JVM nREPL

Olical 2020-09-30T17:34:53.031900Z

Yeah I've found that BB just works differently in this way, I was personally okay with it since you might need your script to maintain stdio streams even when nREPLing. Maybe bb could write to stdio and send nREPL messages though.