bacon: working jobs live watch

This commit is contained in:
Per Stark
2024-12-02 09:18:15 +01:00
parent f1f5ce6236
commit 3bd6da5805

View File

@@ -91,11 +91,17 @@ background = true
command = ["cargo", "run", "--color", "always", "--bin", "server"]
need_stdout = true
allow_warnings = true
watch = ["src", "Cargo.toml", "Cargo.lock"]
background = true
on_change_strategy = "kill_then_restart"
[jobs.worker]
command = ["cargo", "run", "--color", "always", "--bin", "worker"]
need_stdout = true
allow_warnings = true
watch = ["src", "Cargo.toml", "Cargo.lock"]
background = true
on_change_strategy = "kill_then_restart"
# You may define here keybindings that would be specific to
# a project, for example a shortcut to launch a specific job.