Hello all,
I’m trying to get my workplace ready to integrate git tooling with our Ignition setup as tracking changes has been an act of whimsy for too long. I’ve been trying out the basic parts of this on some projects that aren’t seeing any use, just to make sure everything works as I would expect.
Sadly, I haven’t even gotten to using git yet as I’ve been a bit stuck/mystified about how the gateway handles scanning for changes.
I’ve seen discussions about how this has changed in 8.3, so I've been using the gateway web portal's Scan File System button to try it out:
My process was to pull open the project (in this case, a Perspective View) .json file on the (remote) gateway PC from the Program Files\InductiveAutomation\...\data\projects\ directory and make some change to a displayed string using a text editor rather than Designer. I would then save and click the aforementioned scan file system button.
The first time I did this, I was pleased to see the project's webpage update instantly. Ready to move on to other things, I changed the string back, pushed the button again, and was dismayed to see that nothing changed. In fact, even after several tries nothing was different. It took me opening the Designer (which also did not reflect the local file change) and forcing a save, which lead to resolving a conflict to get it back. This feels incoherent by my understanding; the designer wouldn't be able to hear about a conflict from the gateway unless the gateway knew something had been directly modified. If it knows something was modified, why isn't that reflected on the webpage?
I did this same experiment on a few different parts of the .json and had the same result each time. In general, scanning the file system seemed to not work but occasionally it would. Otherwise, I would need to try and find a way to force a sync through the Designer.
I'm hoping someone has advice or knows what I'm doing wrong.
