Prevent closing Obsidian if it is currently syncing (or keep syncing in the background)

This feature request applies to mainly Obsidian Sync.

Use case or problem

I would like it if the application prevented me from closing it (or kept syncing in the background). Currently I am having pretty much daily a situation where I have written a lot of new things in a note and I close obsidian before it is has finished syncing. This means that when opening on a different device there is content missing.

Proposed solution

My proposed solution is to either:

  • Prevent the application from being closed.
  • Ask if it should wait until synced before closing.
  • Keeping the sync going in the background until finished.

Current workaround (optional)

I have not found a workaround except for learning to wait!

3 Likes

There’s an existing request for “keep syncing in background”. If you’re on iOS, the system limits background activity so there’s not much that can be done there.

You can turn on Settings > Sync > Prevent Device Sleep. I don’t know how much it helps, but I’m using it.

1 Like