VSC open 1st files in live server, not current

Hello.
Can you please assist. Trying to open current index.html in Visual Studio Code Live Server but system open first file that I opened in it before. Trying again but still open not current index.html. Closed all other opened files but no result.
Thank you in advance.

Double check which folder is currently open on VSC, file / open / open folder and select the correct one then retry.

In your workspace. you can right-click on the file you want to open, and choose “open with live server”

Thank you very much. It was really previous folder opened :laughing:

Thank you. It was because previous folder opened, not with current file.

Happy to have helped ! Code on

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.