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

God I wish emacs would do that with magit, though maybe there is some elisp out there that would aide me. Too lazy to look.


Put

   '(global-auto-revert-mode t)
In the "custom-set-variables" section of your .emacs, and it will automatically reload any file open in emacs that changes on disk (excepting files with unsaved changes). While it's a little slow doing the actual reloads under Cygwin, it's blinding fast on Linux. Works a charm with egg, haven't tried magit.


File system notifications are proprietary to each OS, so you may not find anything great.




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

Search: