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