Fork me on GitHub
#yada
<
2018-09-17
>
stijn13:09:13

doesn't this trick work in yada (yada/listener #'some-var-containing-the-handler {:port 3000})

stijn13:09:59

when I re-evaluate some-var-containing-the-handler in the repl, the server still serves the old one

malcolmsparks13:09:50

Bidi matched handlers work, but I did not know this use case didn't work. Thanks for letting me know

stijn14:09:48

I think the problem is that as-handler should be done after the refresh of the var: (def app (as-handler ...create bidi vhost here...) and then using the aleph start-server directly works as expected