yada

stijn 2018-09-17T13:04:13.000200Z

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

stijn 2018-09-17T13:04:59.000100Z

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

malcolmsparks 2018-09-17T13:12:50.000100Z

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

stijn 2018-09-17T14:16:48.000100Z

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