I've got two source code directories (different programming languages) and I've noticed that when I alter source files in language A the direct parent modification time also updates. However, in language B, altering sources does not seem to update the parent directory modification times whatsoever.
Honestly, this feels quite weird to me and I can't find a pattern or reason for this. Is this something related to MacOS only? I don't recall every seeing this behaviour in Linux systems.
Can the files have some kind of attribute which tells the OS how to update the parent directories?
I'm on High Sierra using a zsh shell.