user14709030
user14709030

Reputation:

How Do I Make my Site Automatically Reload When I Change my HTML?

When I write HTML, I have Google Chrome open on one side and VS Code on the other. Then when I save, I go to Chrome and reload the page. However, how do I make it so that when I save my code, the page automatically reloads in Chrome?

Upvotes: 1

Views: 562

Answers (1)

Ben Soyka
Ben Soyka

Reputation: 884

Use a live server. One such option is the Live Server VS Code extension. You could also use the live-server NPM package or the live-server PyPI package.

There are plenty of options out there, just pick the best one for your needs.

Upvotes: 2

Related Questions