live-server

live-server

live-server is simple test server to check html or javascript.
Especially, React-Router and Vue-Router etc.. , direct access to html file(file://) is not easy to test routing. So, simple server is useful to test frontend codes.

Install and start

For me, install it for global and call this by command.

npm install -g live-server

Run

live-server

The command root becomes document root. Open index.html of current directly automatically.