Use case or problem
I need to wait >30 seconds every time I want to publish
I have >600.000 words, vault is 4.3 GB (including .git)
Proposed solution
Sort of incremental way to check that I have content to publish instead of what I guess you are doing: checking the whole thing every time
Current workaround (optional)
Wait