Add hot reload for backend
All checks were successful
Build Backend (NixCN CMS) TeamCity build finished
Build Frontend (NixCN CMS) TeamCity build finished

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-01 20:22:55 +08:00
parent 83fe326962
commit 3d685b5a86
10 changed files with 46 additions and 58 deletions

View File

@@ -8,6 +8,7 @@
packages = [
pkgs.git
pkgs.just
pkgs.watchexec
];
dotenv = {
@@ -32,11 +33,7 @@
exec = "bun run dev";
cwd = "./client";
};
backend.exec = "just backend";
};
tasks = {
"backend:build".exec = "just clean && just build";
backend.exec = "just dev-back";
};
services = {