[TxMt] Refreshing files after a command executes

Allan Odgaard allan at macromates.com
Fri Apr 15 00:46:55 UTC 2005

On Apr 14, 2005, at 18:18, David Ogren wrote:

> In short, is there anyway to force TextMate to check the "freshness" 
> of a current file after executing a command?

As a workaround you can add this to the bottom of your command, 
basically automating the re-activation you were doing manually (in the 
future I hope to make this unnecessary :) ):

    osascript <<EOF &>/dev/null &
       tell app "System Events" to activate
       tell app "TextMate" to activate

More information about the textmate mailing list