From 49728a55fcd839c8d8c0198e573ad45f86735d51 Mon Sep 17 00:00:00 2001 From: anntnzrb Date: Thu, 19 Dec 2024 18:11:05 -0500 Subject: [PATCH] feat: use `bacon` (drop unmaintained `cargo watch`) --- justfile | 4 ++-- nix/modules/devshell.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index c03df42..023f33a 100644 --- a/justfile +++ b/justfile @@ -9,6 +9,6 @@ fmt: run *ARGS: cargo run {{ARGS}} -# Run 'cargo watch' to run the project (auto-recompiles) +# Run 'bacon' to run the project (auto-recompiles) watch *ARGS: - cargo watch -x "run -- {{ARGS}}" \ No newline at end of file + bacon --job run -- -- {{ ARGS }} diff --git a/nix/modules/devshell.nix b/nix/modules/devshell.nix index 100a51a..f1bd49d 100644 --- a/nix/modules/devshell.nix +++ b/nix/modules/devshell.nix @@ -10,7 +10,7 @@ packages = with pkgs; [ just nixd # Nix language server - cargo-watch + bacon config.process-compose.cargo-doc-live.outputs.package ]; };