1. Installation
$ sudo npm install -g live-server
2. Use the following command to automatically open the current directory
$ live-server
The above article uses live-server to quickly build a local server + automatic refresh is all the content I have shared with you. I hope you can give you a reference and I hope you can support me more.