Previously I've used TextMate and Cyberduck (cyberduck.ch) SFTP client for my web development on OS X (10.7.2). Cyberduck has a feature where you can download a file and it will open it up in your editor of choice. Once you save the file, it is automatically uploaded back to the server. It does this (I think) by downloading it to /private/var/folders/.... and then checking when the file is updated to decide when to re-upload it.
In any event, this works just fine with TextMate. Now that I've switched to ST2, I'm finding that I have to save the file twice in ST2 before Cyberduck uploads it back to the (S)FTP server. I'm not sure why, or who's to "blame" for this behaviour -- ST2 or Cyberduck -- but I'm wondering if any one else sees this happening? Both apps are at the latest version.
I'm happy to provide whatever debugging is necessary to solve this.