From f10764511f1362389e03ea87af2be3e23849415b Mon Sep 17 00:00:00 2001 From: Lauren Kaviak Date: Mon, 15 Jun 2026 22:12:51 -0500 Subject: [PATCH] add continuous variable switch --- app.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app.sh b/app.sh index da2d1d0..c583442 100755 --- a/app.sh +++ b/app.sh @@ -15,4 +15,8 @@ else ob sync-setup --vault "$VAULT_NAME" --path "$SYNC_FOLDER" --password "$VAULT_PASSWORD"; fi -ob sync --path "$SYNC_FOLDER" \ No newline at end of file +if [ $WATCH = true ]; then + ob sync --watch --path "$SYNC_FOLDER"; +else + ob sync --path "$SYNC_FOLDER"; +fi \ No newline at end of file