<type>documentation</type>
<domain>edit</domain>
<id>auto-reload</id>
<title>Auto-Reloading Changed Files</title>
<date>$Date$</date>
<version>$Revision$</version>
<product>per+</product>

Wing's editor detects when files have been changed outside of the IDE and can reload files
into its editor. This is useful when working with an external editor, or when using code
generation tools that rewrite files.

The default behavior is to automatically reload externally changed files that have not yet
been changed within Wing's source editor, and to prompt to reload files that have also
been changed in the IDE.

You can change these behaviors with the the `Files > Reloading > Reload
when Unchanged <script:show_preferences_gui#prefname="cache.unchanged-reload-policy">`__
and `Files > Reloading > Reload when Changed
<script:show_preferences_gui#prefname="cache.changed-reload-policy">`__ preferences

On Windows, Wing uses a signal from the OS to detect
changes so notification or reload is usually instant. On Linux and Unix, 
Wing polls the disk by default every 5 seconds.  This frequency can be
changed with the `Files > Reloading > External Check Freq`__ preference.

__ script:show_preferences_gui#prefname="cache.external-check-freq"
