diff --git a/mise.toml b/mise.toml index b452af1..b96692f 100644 --- a/mise.toml +++ b/mise.toml @@ -1,4 +1,5 @@ [tools] +deno = "latest" jujutsu = "latest" rust = { version = "1.88.0", components = "rust-analyzer,clippy" } watchexec = "latest" @@ -8,11 +9,13 @@ run = "docker run --rm -it -e POSTGRES_PASSWORD=guest -v './pgdata:/var/lib/post [tasks.server] run = "cargo run serve" -sources = ["./**/src/**/*.rs", "./**/Cargo.toml", "./**/templates/**/*.html", "./components/src/**/*.tsx?"] +description = "Run the server. For development: `mise watch --restart serve`." +sources = ["**/*.rs", "**/*.html"] [tasks.vite] run = "deno task build" dir = "./components" +sources = ["**/*.ts"] [env] RUST_LOG = "debug"