Open nasvillanueva opened 2 months ago
how to know if a file has been modified? we know when a file has last been modified but we do not know whether generate
has been run after that time or not unless we keep a note somewhere
maybe we can instead have a quiet
mode where still checks every file but it only prints to stdout when it actually needs to prompt the user? (EDIT: or maybe this is what you originally meant by "modified files" in the original post)
@bsuth My original idea was to just use git
to check modified files and feed that to the files path.
maybe we can instead have a quiet mode where still checks every file but it only prints to stdout when it actually needs to prompt the user?
Oh, this is also a nice approach. No external dependencies at all.
Overview
My usual workflow adds text slowly and each time I do, I run
re-i18n generate
every time, and my logs gets flooded with logs that are basically noise.It would be nice to have a flag
re-i18n generate --modified-only
or something, that will just check modified files.