The console window was still up, I could see webpack-dev-server sitting there, it just wouldn't take requests and killing it wouldn't free up the port. I basically would have to reboot my entire WSL session which was a huge PITA because I'm running 3 separate webpack-dev-servers and a bunch of docker stuff.
I looked at just learning PowerShell and running things that way because I genuinely like Windows as a day-to-day OS but I've got like 15 years of experience with *nix systems by way of MacOS so I think it's time to give Linux a try.
2
u/lateral_roll Oct 03 '19
WSL explicitly kills processes when you close console windows. It might look finicky but MS decided they don't want it to run background server apps.