Windows Subsystem for Linux gets new 'mirrored' network mode
For a brief minute I was hoping that this would be a built-in solution for mirroring host files to the linux VM, but alas...<p>I think development on windows has come a long, long way over the years, but I still feel like these days you&#x27;re all but stuck going all-in on WSL -- meaning no more GUIs -- or keeping the GUIs but losing WSL. For example: if I want to use sourcetree for git on the host, but autoreload processes within docker when I change code, I&#x27;m basically out of luck: sourcetree can&#x27;t deal with files on the linux filesystem (or at least, not on my setup, though that could be more than just an issue with sourcetree), so I have to store the files on the host. But things like inotify can&#x27;t cross the filesystem boundary, so now autoreloading works. Which is why the advice is always just to keep all of your code within the WSL filesystem, but now the GUIs don&#x27;t work. (I mean, I think in theory you can get GUIs from inside WSL, but I have absolutely no interest setting that up -- now it&#x27;s like a Matryoshka doll of virtualization. Plus, some of the programs I want to use <i>don&#x27;t ship a linux version</i>, so it&#x27;s a moot point).<p>My workaround is annoying but effective, as long as you have a good enough system for it: I run a watcher process on the host and an rsync server within a dedicated docker container, and it syncs my code for me into a named docker volume. I guess this has the added benefit of allowing me to have my own filter files for whether or not things get copied over (I have multiple git repos, and I&#x27;d like each of them to obey their gitignores when copying), but... it&#x27;s definitely pretty rough around the edges.<p>But still: any improvements are good!