Auto-reloading Changed Files

Index of All Documentation » Wing Pro Reference Manual » Source Code Editor »

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

Wing's 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 by setting the value of the Reload when Unchanged and Reload when Changed 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 3 seconds; this frequency can be changed with the External Check Freq preference.