Commit graph

3 commits

Author SHA1 Message Date
a4386c9f4d
ci : scripts + format 2026-03-04 13:42:15 -05:00
Barrett Ruth
f42f958c24
feat: replace npm live-server with pure-Lua HTTP server (#29)
## Problem

The plugin requires users to install Node.js and the `live-server` npm
package globally. This is a heavyweight external dependency for what
amounts to a simple local dev-server workflow, and it creates friction
for users who don't otherwise need Node.js.

## Solution

Replace the npm shell-out with a pure-Lua HTTP server built on `vim.uv`
(libuv bindings), eliminating all external dependencies. The new server
supports static file serving, SSE-based live reload, CSS hot-swap
without full page reload, directory listings, and recursive file
watching with configurable debounce.

Minimum Neovim version is bumped to 0.10 for `vim.uv` and `vim.ui.open`.
The old `args`-based config is automatically migrated with a deprecation
warning.

Closes #28.
2026-03-02 23:16:35 -05:00
0342a892fb chore: update project configs to match cp.nvim
- Add .editorconfig
- Add .luarc.json for LSP support
- Rename .stylua.toml to stylua.toml
- Update .gitignore
2026-02-03 21:00:07 -05:00