Hi,
Every time I start the Ignition service, all of the project's resources.json files are modified, removing the last LF (line feed) from the last line. Therefore, Git detects that all of the resources.json files are different. In no case have I opened any of the project's resources. Is there a way to avoid this situation?
Thanks.
Are they really all modified with no other change?
AFAIK the only files modified on startup (and when a file system scan is invoked) are ones that need a "lastModification" entry added or updated.
I compared the modified file to the original using a program that displays all the characters, and the only change is the LF. The rest of the data remains the same.
Ignition only writes to resource files on startup, if the last modification needs to be set, and on save (or programmatic push into ProjectManager). I don't see anything else.
Are you sure your git repo isn't just out of sync with the reality? are they files really changing or do they just look like changes vs the last thing you committed to git?
Maybe this is relevant here: Getting resource.json files under control in Git