live-server.nvim/readme.md
Barrett Ruth 4ee3715efa docs: modernize readme and vimdoc
- Update homepage URL to barrettruth.com
- Replace setup() docs with vim.g.live_server config
- Add luarocks installation to readme
- Remove lazy.nvim specific example
2026-02-03 21:11:26 -05:00

907 B

live-server.nvim

Live reload HTML, CSS, and JavaScript files inside Neovim with the power of live-server.

Installation

Install using your package manager of choice or via luarocks:

luarocks install live-server.nvim

Dependencies

Configuration

Configure via vim.g.live_server before the plugin loads:

vim.g.live_server = {
  args = { '--port=5555' },
}

See :help live-server for available options.

Usage

:LiveServerStart [dir]   " Start the server
:LiveServerStop [dir]    " Stop the server
:LiveServerToggle [dir]  " Toggle the server

The server runs by default on http://localhost:5555.

Documentation

:help live-server.nvim