aurora / rmate

Remote TextMate 2 implemented as shell script
GNU General Public License v3.0
887 stars 124 forks source link

file updates in server not reflected on local textmate #32

Open drmuey opened 10 years ago

drmuey commented 10 years ago

Thanks for this BTW, it is awesome! Definitely appreciate not having to rely on ruby to not be screwed up :)

Here is the problem I am seeing:

w/ standard locale textmate edit I can:

  1. edit file in textmate, save
  2. edit file outside of textmate, save
  3. textmate updates itself to have the version from step 2

rmate textmate is not behaving like that for me:

  1. edit file in textmate, save
  2. edit file outside of textmate (on server), save
  3. textmate stays at the version from step 1

There does not seem to be a feature to manually refresh textmate w/ the current version either, so its a really sticky situation.

drmuey commented 10 years ago

this is rmate v0.9.1 BYW

aurora commented 10 years ago

Mmmm ... i am not sure, if rmate can handle this, because it must observe the file in this case and re-send the updated file to textmate ... but i'll have a closer look at it ...

drmuey commented 10 years ago

thanks, I was thinking that normally textmate did an mtime check locally and was doing the same thing across the tunnel when opened via rmate.

Might be a textmate issue, but mayebe there is an option that could be passed to trigger this behavior.

appreciate your time looking into it!