79690141

Date: 2025-07-04 11:57:33
Score: 2
Natty:
Report link

I faced a similar problem, after adding the tailwind classes to the html elements and then saved the file while the live server is running, the browser doesn't reflect the changes until I manually reload the browser.

You might be using one of the two popular live server extension, either Live Preview by Microsoft or Live Server by Ritwick Dey

To fix this issue for both of them -- Go in the extension settings and configure it as shown below

For Live Preview by Microsoft --

Live Preview --> Settings --> Auto Refresh Preview --> change it to "On changes to saved files" --> Restart the live server and you are good to go

A screenshot showing the option "Auto Refresh Preview" in VS Code

For Live Server by Ritwick Dey --

Live Server --> Settings --> Full Reload --> Enable it --> Restart the live server and it will start working

Showing the option of "Full Reload " in Liver Server extension

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rishabh Kakralia