Files
Sybil-2/Tiltfile

44 lines
918 B
Plaintext
Raw Normal View History

2026-02-13 23:30:59 -08:00
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,
)