A simple Lua 'live-server' plugin for Neovim for ease of development.
You need to have npm's live-server installed: npm i -g live-server
- In your
packer.lua
adddiegoandino/nvim-liveserver
- Run
:PackerSync
- In your
init.lua
addrequire"nvim-liveserver"
- To test, run:
:LiveServer
and it should start serving the current file or directory open
- Add
Plug 'diegoandino/nvim-liveserver'
- Run
:PlugInstall
- Add
lua require"nvim-liveserver"
to init.vim (or to where you have it setup at)