lostintangent / codeswing

VS Code extension for building web applications ("swings") using a interactive and editor-integrated coding environment
https://aka.ms/codeswing
MIT License
977 stars 46 forks source link

Only able to update HTML file in live preview #96

Open sanaldeha opened 4 months ago

sanaldeha commented 4 months ago

Hi,

when I first opened the Swing on a new project, I was able to see the changes in live preview for both html and css files without having to have to save or pressing "Run Swing" button.

When I saved and opened the html folder on my browser and returned to the live preview on VS, it suddenly stopped updating the CSS changes. I can only see the changes made immediately on my HTML file. To see ones on the CSS I have to save and press "Run Swing" button on the right side of the .css file tab. I am running on Mac OS X Sonoma 14.4.1, and using Safari as my only browser. What could be the cause of this?

sanaldeha commented 4 months ago

Something I discovered just now: When I click "show preview" on the upper right side of the html file tab, it opens up another tab next to the "code swing" tab, where it DOES show live changes, but the "code swing" tab still doesn't.