Reload source files is mtime has changed.

If the mtime of the source directory has changed, reload
all files and set the cursor to 0.
The code assumes that the target platform supports mtime.

Signed-off-by: Richard Weinberger <richard@nod.at>
1 file changed