Fork me on GitHub
#pedestal
<
2021-11-23
>
richiardiandrea16:11:21

@isak thanks, how do you handle the reset? cause that would not call halt-key but will call init-key again and your server will try to bind again to its host

isak17:11:58

@U0C8489U6 ig/halt-key! does get called for me. You are using integrant.repl/reset, right?

isak17:11:00

So then I just call http/stop on the server returned from http/start and it works

isak17:11:02

Maybe it doesn't call halt if you have a suspend defined?

richiardiandrea21:11:28

@isak yeah for some reason halt did not get call here, I am not sure why - I might need to try again if you say so

1
richiardiandrea18:11:43

You are right halt-key is hit, I might have had problems with variable redefinition at the REPL

1