fix dev server restarts
This commit is contained in:
parent
4558aaa66d
commit
1116e40590
1 changed files with 4 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue