No description
Find a file
2026-02-03 21:28:34 -05:00
.github fix: suppress deprecation stack trace for cleaner UX 2026-02-03 21:05:52 -05:00
doc docs: modernize readme and vimdoc 2026-02-03 21:11:26 -05:00
lua fix: suppress deprecation stack trace for cleaner UX 2026-02-03 21:05:52 -05:00
plugin refactor: use vim.g config and lazy loading 2026-02-03 20:13:12 -05:00
.editorconfig chore: update project configs to match cp.nvim 2026-02-03 21:00:07 -05:00
.gitignore chore: update project configs to match cp.nvim 2026-02-03 21:00:07 -05:00
.luarc.json chore: update project configs to match cp.nvim 2026-02-03 21:00:07 -05:00
.pre-commit-config.yaml feat: run pre-commit 2026-02-03 21:03:18 -05:00
LICENSE fix(ci): add license 2026-02-03 21:28:34 -05:00
live-server.nvim-scm-1.rockspec chore: add CI, pre-commit, and luarocks configs 2026-02-03 21:01:57 -05:00
readme.md docs: modernize readme and vimdoc 2026-02-03 21:11:26 -05:00
selene.toml fix: suppress deprecation stack trace for cleaner UX 2026-02-03 21:05:52 -05:00
stylua.toml chore: update project configs to match cp.nvim 2026-02-03 21:00:07 -05:00
vim.toml fix: suppress deprecation stack trace for cleaner UX 2026-02-03 21:05:52 -05:00

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