From ed980692e79b0b1cebc1636c0052ec8ea400bb46 Mon Sep 17 00:00:00 2001 From: Ishaaq Date: Sat, 14 Dec 2024 21:04:32 +0530 Subject: [PATCH] Updated Justfile to allow running Uchat via the just serve-all command --- justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/justfile b/justfile index 630cb0b..f4e66b7 100644 --- a/justfile +++ b/justfile @@ -35,6 +35,11 @@ serve-frontend *ARGS: serve-api *ARGS: watchexec -r -i "frontend/**" -i "target/**" --exts rs,sql,toml cargo run -p uchat_server {{ ARGS }} +# run both frontend and API server +serve-all: + just serve-frontend & + just serve-api + # set up project dependencies init: cargo run -p project-init