No description
Find a file
2026-03-04 13:42:15 -05:00
.github feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -05:00
doc feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -05:00
lua/live-server feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -05:00
plugin feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -05:00
scripts ci : scripts + format 2026-03-04 13:42:15 -05:00
.editorconfig chore: update project configs to match cp.nvim 2026-02-03 21:00:07 -05:00
.gitignore feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -05:00
.luarc.json ci : scripts + format 2026-03-04 13:42:15 -05:00
.pre-commit-config.yaml feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -05:00
.styluaignore ci : scripts + format 2026-03-04 13:42:15 -05:00
flake.lock feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -05:00
flake.nix feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -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 feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -05:00
selene.toml feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -05:00
stylua.toml chore: update project configs to match cp.nvim 2026-02-03 21:00:07 -05:00
vim.yaml feat: replace npm live-server with pure-Lua HTTP server (#29) 2026-03-02 23:16:35 -05:00

live-server.nvim

Live reload HTML, CSS, and JavaScript files inside Neovim. No external dependencies — the server runs entirely in Lua using Neovim's built-in libuv bindings.

Dependencies

  • Neovim >= 0.10

Installation

Install with your package manager or via luarocks:

luarocks install live-server.nvim

Documentation

:help live-server.nvim

Known Limitations

  • No recursive file watching on Linux: libuv's uv_fs_event only supports recursive directory watching on macOS and Windows. On Linux (inotify), the recursive flag is silently ignored, so only files in the served root directory trigger hot-reload. Files in subdirectories (e.g. css/style.css) will not be detected. See libuv#1778.