From 5b2d9aa5a5addd838adbb8e354009fe922cb9b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Juul=20Brunsh=C3=B8j?= Date: Mon, 26 Jun 2023 08:51:16 +0200 Subject: [PATCH] chore: update justfile --- justfile | 3 ++- todo.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 3e54db9..3663232 100644 --- a/justfile +++ b/justfile @@ -43,8 +43,9 @@ deploy-frontend: deploy-backend: ssh plul@ajb.dk -- sh -c "'cd achievements && git pull'" ssh plul@ajb.dk -- sh -c "'cd achievements && nix develop --command -- cargo build --release -p backend'" + ssh root@ajb.dk -- systemctl stop achievements-backend.service ssh plul@ajb.dk -- sh -c "'cp achievements/target/release/backend /opt/achievements/backend'" - ssh root@ajb.dk -- systemctl restart achievements-backend.service + ssh root@ajb.dk -- systemctl start achievements-backend.service just logs-prod # Copy the nginx conf to the server and reload nginx diff --git a/todo.md b/todo.md index a247217..2cd7a60 100644 --- a/todo.md +++ b/todo.md @@ -1 +1,2 @@ - websocket reconnect +- when an achievement component in the admin view has an input field with a timestamp, even if the user hasn't modified anything, and the achivement gets an update on the ws with a different time, then the UI shows an UPDATE button. It should just nuke the state instead.