adds tiltfile

This commit is contained in:
2026-02-13 23:30:59 -08:00
parent 83d55df73f
commit 5340c55aa6

43
Tiltfile Normal file
View File

@@ -0,0 +1,43 @@
update_settings(max_parallel_updates=4)
local_resource(
"server",
cmd="npm ci --no-audit --no-fund",
deps=[
"server/package.json",
"server/package-lock.json",
],
serve_cmd="npm run dev",
readiness_probe=probe(
period_secs=2,
timeout_secs=1,
http_get=http_get_action(port=8787, path="/health"),
),
links=[
"http://localhost:8787/docs",
],
dir="server",
serve_dir="server",
allow_parallel=True,
)
local_resource(
"web",
cmd="npm ci --no-audit --no-fund",
serve_cmd="npm run dev",
deps=[
"web/package.json",
"web/package-lock.json",
],
dir="web",
serve_dir="web",
readiness_probe=probe(
period_secs=2,
timeout_secs=1,
http_get=http_get_action(port=5173, path="/"),
),
links=[
"http://localhost:5173",
],
allow_parallel=True,
)