user14346436
user14346436

Reputation: 155

How do I get Sublime Text 2 to reload files when they change on the disk?

How do I get sublime to reload the files when I switch git branches? Is it supposed to be doing this automatically? This question hasn't been asked anywhere on here, and I haven't been able to find anything via google.

Upvotes: 1

Views: 2177

Answers (2)

mickm
mickm

Reputation: 391

Happens automatically on OSX Mavericks when you switch branches (non-paid version of Sublime).

Upvotes: 1

MattDMo
MattDMo

Reputation: 102862

It should do it automatically. On Windows 8 I have a file open in one branch, switch over to the command line, checkout another branch, switch back to Sublime, and the file's contents are reloaded automatically. You may need to switch to another tab in Sublime, then switch back to the file. If there are unsaved changes in the first branch, you should be asked if you want to reload the file.

Upvotes: 2

Related Questions