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]
|
[tools]
|
||||||
|
deno = "latest"
|
||||||
jujutsu = "latest"
|
jujutsu = "latest"
|
||||||
rust = { version = "1.88.0", components = "rust-analyzer,clippy" }
|
rust = { version = "1.88.0", components = "rust-analyzer,clippy" }
|
||||||
watchexec = "latest"
|
watchexec = "latest"
|
||||||
|
|
@ -8,11 +9,13 @@ run = "docker run --rm -it -e POSTGRES_PASSWORD=guest -v './pgdata:/var/lib/post
|
||||||
|
|
||||||
[tasks.server]
|
[tasks.server]
|
||||||
run = "cargo run serve"
|
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]
|
[tasks.vite]
|
||||||
run = "deno task build"
|
run = "deno task build"
|
||||||
dir = "./components"
|
dir = "./components"
|
||||||
|
sources = ["**/*.ts"]
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
RUST_LOG = "debug"
|
RUST_LOG = "debug"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue