Linux Development Experience in Windows with WSL and Visual Studio Code Remote(devblogs.microsoft.com) |
Linux Development Experience in Windows with WSL and Visual Studio Code Remote(devblogs.microsoft.com) |
I started developing on it and was making great progress. I had several days worth of work in many different forms.
Then Microsoft decided to reboot my device and I lost it all.
WSL is now "just a toy". Real tools do exactly what you tell them to do WHEN you tell them to do it. Rebooting my machine without asking makes EVERY Microsoft product a toy.
Don't use WSL for anything valuable.
Losing work because Microsoft "needs to reboot" is unacceptable.
But in practice you can prevent the automatic reboots happening while you're working with the 'Change Active Hours' feature (just search on that term in settings).
Again, not arguing about the rightness of Microsoft's silly policy here, but if you're using Windows you might as well obviate the issue. You can - I've never had an automatic update & reboot interrupt me.
WSL2 + VS Code + Windows terminal has become a truly viable dev environment.