Multiple things here ! Let me just ask a couple questions to make sure I understand everything.
Context: I'm trying to edit resources from VSCode (/usr/local/bin/ignition/data/projects/samplequickstart/ignition/script-python/...)
and then have the designer reload the changes I made in VSCode. I got that information from here
However, when I try to invoke handleSave (from a pushNotification that then calls it in the designerScope), the designer won't reload the changes, even though the invoke seems to have worked.
Is there another function I should call instead (i.e. updateProject) ? If so, could you provide me a snippet of how to invoke it ? Or maybe I didn't understand that I could trigger something like that from the gateway (i.e. push). In that case, I think I would need to push the file from VsCode, right ?
Other question: to trigger the designer restart, I didn't think I was on a dev build. I'm using the following Dockerfile:
FROM inductiveautomation/ignition:8.1.28
USER root
RUN apt-get update
RUN apt-get install -y wget build-essential python2
USER ignition
CMD ["/bin/bash"]
***Not yet completed, the plan is to add ignition api mocks and other tools
Is there maybe a flag or something I should turn on/off to activate the check ?
Thanks !