Aller au contenu

File-change watching

The editor watches the files you have open and notices when they change on disk — for example when another program rewrites a file, or you pull new changes in version control.

What happens when a file changes

  • When an open file is modified outside the editor, you're notified so the view never silently shows stale content.
  • From the notification you can reload the file to pick up the external changes, or compare the on-disk version against what you have open (see Compare / Diff).

This keeps the editor in sync with the real state of your files and helps you avoid overwriting changes made elsewhere.