Auto-reload too fast when tool modifies $File
Posted: Thu Dec 07, 2000 3:41 am
Hi,
Many apologies if this has been addressed before.
I have a Perl script that re-writes the current editor file
to add an index.
The problem is that, with Auto-Reload enabled, it starts to
reload before the script has finished writing the file.
The net result is that only part of the file is reloaded.
Changing Auto-Reload to Prompt fixes the problem, but ideally
what I'd like is an option to delay an Auto-Reload until the
tool has completed. Or simply wait for n seconds after a tools
is executed before Auto-Reloading.
Any advice would be appreciated.
jon
Many apologies if this has been addressed before.
I have a Perl script that re-writes the current editor file
to add an index.
The problem is that, with Auto-Reload enabled, it starts to
reload before the script has finished writing the file.
The net result is that only part of the file is reloaded.
Changing Auto-Reload to Prompt fixes the problem, but ideally
what I'd like is an option to delay an Auto-Reload until the
tool has completed. Or simply wait for n seconds after a tools
is executed before Auto-Reloading.
Any advice would be appreciated.
jon