I read over the docker documentation at Installation | Zola. Everything works except the browser auto refresh on save. It does not seem like a zola issue because zola is updating on every save and when I manually refresh the browser i see the changes, but I was hoping someone may have found the solution to this (i spent a good hour searching). I am using the docker-compose file below. I am running v0.13 in WSL2. Auto refresh is working outside of docker on my windows and WSL2 installation. I would be happy to provide any other information if it helps. Thank you!
Amazing, that worked! I thought that may be the issue, but the only other port I could find was 35729 from livereload.js, which was being remapped in zola anyway. However, now that you point out that port I see it clear as day in the code under self.live_reload = get_available_port(port_to_avoid); Guess I should have looked harder in zola! I think it may be beneficial to mention this in the docker documentation section. Would you want to create a PR for it since you found the answer? Or would you want me to do it, and I will give you full credit of course!
I will look into it a bit and probably end up opening an issue with the repository owner to get his thoughts before creating a PR. Also, it looks like the port may not be 1024 if it is in use already so I wonder if it would be beneficial to output the live reload port when serving. Thanks again!