Emacs: Refresh File Automatically
If someone modified a file that is already opened in your emacs, typically emacs will detect it, and when you type something, emacs will ask you what to do.
you can manually update the file from disk by
To always refresh automatically, put this in your Emacs Init File:
;; set file to auto refresh when change detected (For example, changed by other) (global-auto-revert-mode 1)