Reputation:
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
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