On most (possibly all) operating systems, a folder (as a list/container of references to files) is modified for example by:
- adding file
- removing file
But not by modifying contained files, as that does not change the "list of references to files".
To achieve what you want, you can for example write a cron/scheduler job to update a folder timestamp to a time of the newest contained file.