Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Atom editor does not reload changed file

I am using Atom editor on Windows 7. On the git shell when I run the command, git reset --hard , all the other editors reset/undo all the modified files. but if I am using ATOM editor, changes are retained. If I try to close the file in editor, Atom ask, file is changed, do you want to save the changes.

How can I force Atom to undo changes when files are modified externally.

like image 446
SharpCoder Avatar asked Feb 09 '16 18:02

SharpCoder


People also ask

How do I recover an unsaved Atom file?

Step 1: Download and install the tool. Open it and choose the drive where Atom is installed. Step 2: The software will do a quick scan and then a deep scan to recover all your files. You will see all the scanned files.

Does atom save unsaved files?

Recover your unsaved files in case of catastrophic failure (power outage, blue screen of death, etc).

Is there autosave in atom?

Autosave package Autosaves editor when they lose focus, are destroyed, or when the window is closed. This package is disabled by default and can be enabled via the autosave. enabled config setting or from the Autosave section of the Settings view (OS X: cmd-,, Windows & Linux: Ctrl-,).

How do I restart atom editor?

A simple package to restart the atom application and reopen windows as they were when exiting. Press CTRL-ALT-X in the workspace to restart Atom.


1 Answers

According to https://discuss.atom.io/t/auto-reload-changed-files/8451/6, FileWatcher is an Atom package which will do what you want.

like image 132
Code-Apprentice Avatar answered Sep 19 '22 17:09

Code-Apprentice