views:

175

answers:

3

I use and love textmate, but over NFS there's a large delay whenever one of its windows gains focus as it rescans all open files for changes. I've looked but not found any way to disable this feature.

Does anyone know of a good workaround for this?

A: 

I have no idea about mac or NFS in general, but googling around showed me that you can try and play around with this NFS options on mac, assuming textmate stats the files to find out whether or not they have been changed:

nfs.client.statfs_rate_limit
nfs.lockd.host_monitor_cache_timeout

Let us know if it was any good.

See the man page

Elazar Leibovich
Thanks, but I'm reluctant to fiddle with my nfs settings... it's more than my editor that uses nfs.
Paul Hankin
And, it may be bad to set flags that give potentially misleading info to the system.
Matthew Schinckel
A: 

I believe there no such option. See advance options that can be set But you use rsync for ongoing projects and temporary edits this is not big issue.

nexneo
I have tried a variant of this already (using git push/pull to do the rsync). But it's an extra step in the code/test cycle which I found worse than waiting for textmate.
Paul Hankin
+4  A: 

You can also get ReMate a plugin for TextMate that will allow for disabling of the Auto-Refresh.

It would be nice to be able to do this on a per-project basis, however.

Matthew Schinckel
Thanks, that's exactly what I need!
Paul Hankin
Any sensible functionality is available in plugins... *sigh*
Akrikos
Note: the latest ReMate plugins will enable turning this on/off on a volume by volume basis, which is good enough for me.
Matthew Schinckel