From 17a5131ced2438f6068e1b7d45e14c780bf1e3d7 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 29 Jan 2026 02:57:27 +0000 Subject: [PATCH] Add instructions for auto building scss --- README.md | 8 ++++++++ flake.nix | 1 + 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 27749fc2..8cfe8ff5 100644 --- a/README.md +++ b/README.md @@ -84,3 +84,11 @@ This uses [goose](https://github.com/pressly/goose). You can use the goose comma > GOOSE_DRIVER=postgres GOOSE_DBSTRING="dbname=nidus-sync sslmode=disable" goose down > GOOSE_DRIVER=postgres GOOSE_DBSTRING="dbname=nidus-sync sslmode=disable" goose up ``` + +### watchexec + +For iterating on styles + +``` +watchexec -e *.scss sass --style=compressed scss/custom.scss:htmlpage/static/css/bootstrap.css +``` diff --git a/flake.nix b/flake.nix index fba2b1fa..69f7af77 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,7 @@ pkgs.gotools pkgs.lefthook pkgs.sass + pkgs.watchexec ]; }; }