default_job = "check" env.CARGO_TERM_COLOR = "always" [jobs.clippy] command = ["cargo", "clippy"] need_stdout = false watch = ["interim-*"] [jobs.check] command = ["cargo", "check"] need_stdout = false [jobs.run-worker] command = [ "cargo", "run", "worker", ] need_stdout = true allow_warnings = true background = true default_watch = false [jobs.run-server] command = ["cargo", "run", "serve"] need_stdout = true allow_warnings = true background = false on_change_strategy = "kill_then_restart" kill = ["kill", "-s", "INT"] watch = ["interim-*", "components/src"] [jobs.watch-components] command = ["deno", "task", "--cwd=components", "build"] default_watch = false watch = ["components/src"] need_stdout = true allow_warnings = true background = false # You may define here keybindings that would be specific to # a project, for example a shortcut to launch a specific job. # Shortcuts to internal functions (scrolling, toggling, etc.) # should go in your personal global prefs.toml file instead. [keybindings] b = "job:watch-components" c = "job:clippy" r = "job:run-server" w = "job:run-worker"