diff --git a/bacon.toml b/bacon.toml index f36f83d..4f6308f 100644 --- a/bacon.toml +++ b/bacon.toml @@ -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.