Releases: selimacerbas/live-server.nvim
Releases · selimacerbas/live-server.nvim
v1.3.0
v1.2.2
- Fix recursive file watching on Linux — v1.2.1 fallback never triggered because
UV_FS_EVENT_RECURSIVEis silently ignored on Linux (no error) - Now detects platform via
uv.os_uname()and always uses per-directory watchers on Linux - Fixed callback path construction for subdirectory watchers
v1.2.1
- Fix recursive file watching on Linux — subdirectory changes (e.g.
css/style.css) now trigger reloads - Falls back to per-directory watchers when
UV_FS_EVENT_RECURSIVEis not supported - Dynamically watches newly created directories
v1.2.0
- Add
/__live/injectHTTP endpoint for external SSE event injection - Support port 0 (OS-assigned) with actual port resolution via
getsockname()
v1.1.0
New
S.send_event(inst, event_type, data)— public API for sending custom SSE events to connected browsers. Exposes the internal broadcast mechanism so consumers (e.g. markdown-preview.nvim) can send arbitrary event types beyond the built-in `reload`.
v1.0.0
live-server.nvim v1.0.0
Pure-Lua local web server for Neovim with live-reload. Zero external dependencies.
Features
- SSE live-reload with configurable debouncing
- CSS hot-inject — swap stylesheets without full page reload
- Auto-start on filetype (e.g. open an HTML file → server starts)
- Statusline component —
[LS :8000]for lualine/statusline .liveignore— skip file watcher noise (node_modules,*.log, etc.)- CORS headers — configurable
Access-Control-Allow-Origin - Telescope integration — path and port pickers
- Directory listing — styled index when no
index.htmlexists - Styled error pages — dark-mode-aware 404/400 pages
- Same-port retargeting — reuse browser tab when switching roots
- Custom index names — try
index.html,index.htm, or your own list - Vimdoc — full
:help live-server.nvimdocumentation - Graceful exit — servers stop automatically on
VimLeavePre
Install
{ "selimacerbas/live-server.nvim", opts = {} }See README for full setup and configuration.