HUGO

Docker Desktop for Windows now triggers live reload on file changes

Docker Desktop for Windows now sends file change notifications to the Linux OS in a Docker VM. This has made a Huge difference in my workflow with Hugo sites.

The Docker Desktop for Windows Hyper-v works. But I’m using WSL2 backend and /mnt/ filepath, which is not working. Is the only solution for this issue is using the WSL2 file system? Thanks!

It is faster to use the WSL filesystem, for example, all of my projects live in /home/username/repos/ which I can access from the Windows side of things at \\wsl$\Ubuntu\home\username\repos.

I’ve actually uninstalled Docker Desktop for Windows, and I installed Docker into my WSL2 Ubuntu VM. Then I use docker inside of WSL2 to run my images when needed.