I have finally started playing with the Hoplon framework for a small project. For that, I decided to pick up Boot again, since I really liked it for cljs-work last time I did that. I’m having trouble getting the browser reload functionality working properly.
The problem is not with picking up the changes; rather it is that the rendered HTML is not replaced. When a hoplon file is reloaded the HTML contents of the body tag are appended to the browser DOM instead of replacing the body tag.
I am not at a computer at the moment, and if someone has an idea but needs more context, I can add a small example later.
Cool! I understand that the hoplon html and body functions are supposed to be singleton, i.e. replace contents on evaluation, so I am guessing it has to be something there? I use Arch Linux.
I think the clearing of DOM nodes is enough to make reloading work as expected. I will try it when I get the chance and report back. It does feel like a bug though, does it not?