ghostwheel 2020-04-15

@beders has joined the channel

hey there, I'm having trouble enabling ghostwheel on node.js I'm using shadow-cljs to build and I have added this to the config:

:compiler-options {:external-config {:ghostwheel {}}}
I also have ghostwheel.edn that looks like this:
{:instrument true :check true :trace 4}
I can see traces being spit out, but I don't see ghostwheel complaining about failing input specs: I.e. this will run fine:
(>defn plus [a b]
  [int? int? => int?]
  (+ a b)
  )
(plus [] 3)

not sure what I'm doing wrong or how I could troubleshoot this

the REPL is connected to a running node instance

via shadow-cljs

never mind, got it working. Options were not picked up from ghostwheel.edn

I added them to the shadow-cjls map