Fork me on GitHub
#ghostwheel
<
2020-04-15
>
beders06:04:11

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)

beders06:04:26

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

beders06:04:33

the REPL is connected to a running node instance

beders07:04:02

via shadow-cljs

beders07:04:08

any ideas?

beders07:04:32

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

beders07:04:40

I added them to the shadow-cjls map