Live Preview of HTML Files in Visual Studio Code

This post started as a TIL : I was building a little arcade game called Shoot , opened the index.html and the Web Audio API refused to load a single sound because of CORS. (A shooter with no shooting sounds is mostly just pointing.) The fix was a local development server, and the tool I found was the Live Server extension for Visual Studio Code. That problem I had hasn t changed, but the best…