diff --git a/flake.nix b/flake.nix index 6aa8886..2254fed 100644 --- a/flake.nix +++ b/flake.nix @@ -181,6 +181,7 @@ # Libraries added here will be automatically added to the LD_LIBRARY_PATH and PKG_CONFIG_PATH nativeBuildInputs = [ pkgs.just + pkgs.watchexec ] ++ default.nativeBuildInputs ++ default.buildInputs diff --git a/justfile b/justfile index 0e13d5c..42fb669 100644 --- a/justfile +++ b/justfile @@ -17,6 +17,9 @@ dev: gen: @just maivi build +watch: + watchexec -w lua -w styles -w static -r -- just dev + # zig ========================================================================= [private]