Live code plugins are sometimes handy, but Iv tried about 10 at this point and all of them have had some sort of deal breaking bug or issue that made them unusable for me
You're much better off just setting up a local web server and using that to preview your site in a proper browser (and just reloading the page each time you need to see an edit) ~ I know if your hoping for automatic updates, that sounds like a chore; but auto update systems really only work for simple standard websites or code snippets ~ they are not designed to handle the kinda funky code and complex styles people do on homepages
They always get confused and turn into a mess when they try and preview my sites
Sooo; the most universal way to setup a local server is to..
1. install
Python (its a programing language but it has the ability to start super simple webservers too!)
2. Find the Terminal / Command Prompt in your Applications/Start Menu and pin its icon to your Dock/Task Bar
3. Then drag your websites folder onto the Terminal / Command Prompt icon (this should open a console window that's set to your website folder)
4. Then run this command:
python3 -m http.server 8000
That should start a webserver that will stay running until you close the console window; and if you go to
http://localhost:8000 in your browser it should load your website!
Apologies if there's an issue here as I have only tested this on mac! Also also if you are on mac and want a simple program to do the same thing with a nice UI, you can get
this one for free instead!