Recently I’ve noticed a problem with Textmate when changing focus between different apps in OSX, usually going back and forth between Firefox and Textmate. Essentially Textmate lags for 3-5 seconds every time it regains focus as it refreshes the project drawer, which when you’re trying to tweak lots of small issues can be a huge annoyance.
After spending an hour or so searching for an explanation (it’s a well documented problem – especially for people editing large projects over network shares), I gave up and asked in the TM IRC channel (##textmate on Freenode). The solution to the problem is here, and it’s not very easy to find online though regular channels:
Follow the instructions on the page, toggle the option in the Window menu, no more annoying lag!
Apparently the problem will be resolved in TM2.0, but that isn’t shipping until Leopard is out, which isn’t good enough really! Many thanks to the author and the guys in ##textmate for the help :)