Home Download Buy Blog Forum Support

Session cache too sticky?

Session cache too sticky?

Postby djones on Thu Mar 08, 2012 4:47 pm

I've noticed that when opening files remotely (Interarchy, Transmit, etc.) that have been previously opened by Sublime 2, that it retrieves a cached version of the file instead of the current state of the file. This is particularly problematic when working on remote files that may be modified by another editor. A restart of Sublime 2 is required to ensure that it has a fresh copy and does not destroy the edits made by another application or user. Any suggestions?
djones
 
Posts: 1
Joined: Thu Mar 08, 2012 4:43 pm

Re: Session cache too sticky?

Postby eelco on Mon Aug 13, 2012 2:25 pm

sorry for the bump, but haven't found any better fitting problem.

i've sort or less the same problem.

My workflow:

I've this problem using OSX (both 10.7 & 10.8)

1. login on a remote server using Transmit
2. edit files
3. close st2
4. refresh folders
5. start editing again

Between steps 3 and 4 another person was editing on the same file. These changes weren't in the files I opened the next day. So I got a lot of differences once i did a commit. How can I get rid of this?
eelco
 
Posts: 4
Joined: Mon Aug 13, 2012 2:12 pm

Re: Session cache too sticky?

Postby bizoo on Mon Aug 13, 2012 2:45 pm

Did you save the file before closing ST2 ?
Hot exit feature of ST2 store the current file state in the session, not in the actual file.
Maybe is it the problem here...
bizoo
 
Posts: 880
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Session cache too sticky?

Postby eelco on Mon Aug 13, 2012 5:10 pm

I did save the file—I always do. I don't rely on autosave functions. So that isn't the case.
eelco
 
Posts: 4
Joined: Mon Aug 13, 2012 2:12 pm

Re: Session cache too sticky?

Postby eelco on Wed Aug 15, 2012 10:09 am

Okay, further investigations showed me that the problem relies within Panic's Transmit. ST2 seems to work as expected.
eelco
 
Posts: 4
Joined: Mon Aug 13, 2012 2:12 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 28 guests