This article introduces a package that enables file refresh in the Atom text editor.
For example, when editing a file being synced with Google Drive, you might edit it on this PC, but then update it on another PC. If you save on this PC at this point, the data saved last on this side will take priority and overwrite.
However, with Google Drive, it seems that conflicting files are created separately in such cases, so you don’t need to worry too much, but it’s still concerning, and you don’t want to create unnecessary files either.
So in such cases, you can press Ctrl+Shift+F5 on the file you want to sacrifice or discard to reload it.
However, this doesn’t work for multiple files. If you want to refresh the entire Atom or clean up, this package is effective.
apm install revert-buffer
revert-buffer literally means revert buffer.
Press Ctrl+Shift+P to search for and execute revert-buffer.
Note that if you do revert all, all unsaved files will be reverted to their last saved state. Be careful.
By the way, files accessed via rmate, which I use regularly, didn’t refresh even when reverted. Unfortunately.