No description
| .github | ||
| doc | ||
| lua/live-server | ||
| plugin | ||
| scripts | ||
| .editorconfig | ||
| .gitignore | ||
| .luarc.json | ||
| .pre-commit-config.yaml | ||
| .styluaignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| live-server.nvim-scm-1.rockspec | ||
| README.md | ||
| selene.toml | ||
| stylua.toml | ||
| vim.yaml | ||
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_eventonly supports recursive directory watching on macOS and Windows. On Linux (inotify), therecursiveflag 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.