On Oct. 10, 2016, at 8:46 am, Allan Odgaard <mailinglist@textmate.org> wrote:
But completely suppressing updates might be too pessimistic, so I’ll look into having it update e.g. 3 seconds after last change. I want to do similar for SCM, where we also suppress updates when TextMate is in the background, but that does bother me a bit 

That sounds quite reasonable.

I’m currently trying an approach that uses the 'application.did-activate’ callback to check for updates and insert them. (There isn’t a “document.did-activate”, is there?)  When a doc that isn’t frontmost gets an update, I switch away from TextMate and then back again, triggering the callback. The momentary interruption isn’t too bad; sometimes it isn’t even noticeable, although it seems that keystrokes can get mixed up if I’m in the middle of typing quickly.

I was trying to think of a way to use the new auto-refreshing, but there would have to be a way to trigger it, e.g.
  mate --uuid $doc --event foobar
that would set $TM_REFRESH to “foobar” and run any commands accordingly.