Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, that what's I was describing. It works just fine. When I tab back to Sublime, I get the "<filename> has changed on disk. Do you want to reload it?" modal dialog box. (If there are no unsaved changes in the Sublime buffer that could be clobbered, it just reloads the file silently as you'd expect.)


It didn't work when I tried a few weeks ago. I am running on Linux.


My test just now was on Windows, but I use it regularly on Mac and Linux as well, and I'm pretty sure I would have noticed if it silently clobbered changes like that. You're sure you had unsaved changes to the Sublime buffer for the file when you conducted your test?


Works fine for me. Ubuntu 12.04 with an Ext4 filesystem. Perhaps you are using an unusual filesystem or working over the network?


I'm using btrfs. In any event it sounds like my test must have been flawed. Perhaps I didn't notice it doing an auto-reload.

I don't know what mechanism SL uses. A lot of my current work is using sshfs with editing happening on Linux and the endpoint being MacOS. inotify won't work for that, but more paranoid and repeated stats will.


Sublime text will auto-reload a file which has changed if you have not edited it, without prompting. It only prompts if you have local changes.


It'll automatically reload if you don't have any unsaved changes, if you have, it will ask you to reload


Works fine for me, on Linux. Mine usually just changes it to the new contents without a modal, but Ctrl-Z can reverse.


Works fine on Linux/Windows when ever something changes on both..


Same here (on Mac) - it's always had this behavior for me.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: