This commit is contained in:
2026-02-11 22:44:15 +01:00
parent e80d6b06c0
commit 521610f044
4 changed files with 75 additions and 48 deletions

View File

@@ -0,0 +1,20 @@
{ pkgs, ... }:
{
# Live Server: Auto-reload browser for web development
# Uses browser-sync for live reload functionality
programs.nixvim = {
keymaps = [
{
mode = "n";
key = "<leader>ls";
action = "<cmd>terminal browser-sync start --server --files '*.html, *.css, *.js' --no-notify<cr>";
options.desc = "Start live server (browser-sync)";
}
];
extraPackages = with pkgs; [
nodePackages.browser-sync
biome
];
};
}