[jobs.htmx-dev]
command = [
    "cargo", "run",
    "--package", "rustelo-leptos-server",
    "--no-default-features",
    "--features", "htmx-ssr,content-watcher",
]
watch = [
    "crates/server/src",
    "crates/shared/src",
    "site/config",
    "site/content",
    "site/i18n",
]
need_stdout = true
on_success = "back"

[jobs.check]
command = ["cargo", "check", "--workspace", "--all-targets"]
need_stdout = false

[jobs.clippy]
command = ["cargo", "clippy", "--workspace", "--all-targets", "--", "-D", "warnings"]
need_stdout = false

[jobs.test]
command = ["cargo", "test", "--workspace"]
need_stdout = true

[keybindings]
h = "job:htmx-dev"
