Install nodejs and live-server npm package. Make sure you have npm in your PATH
.
This line should work with vim-plug:
" live-server
Plug 'manzeloth/live-server'
then restart Vim/Nvim and run :PlugInstall
.
Type :LiveServer start
to open a new instance of live-server in your web browser.
Type :LiveServer stop
to close all instances of live-server.
All credits goes to Tapio Vierros. This unofficial plugin uses Live Server which is under the MIT License.