About
editATFileNotif is simple component which detects file change. It uses timer, timer checks are file props (file exists; file size; file age) changed or not. It calls OnChanged.
Example
editExample of function which starts file watch:
procedure TfmMain.NotifyFile;
begin
with ATFileNotif1 do
begin
Timer.Enabled:= False;
Timer.Interval:= 1000;
FileName:= edFileName.Text;
Timer.Enabled:= True;
end;
end;
Download
editGithub: https://github.com/Alexey-T/ATFileNotif-Lazarus
License
editMPL 2.0 or LGPL.