# RPC Call From Gateway To Designer

**URL:** <https://forum.inductiveautomation.com/t/rpc-call-from-gateway-to-designer/75711>\
**Category:** Module Development\
**Tags:** ignition81\
**Created:** [June 29, 2023, 2:33pm UTC](https://forum.inductiveautomation.com/t/rpc-call-from-gateway-to-designer/75711 "2023-06-29T14:33:53Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Simon\_Legault](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Simon\_Legault](https://forum.inductiveautomation.com/u/Simon_Legault)\
**Post date:** [June 29, 2023, 6:01pm UTC](https://forum.inductiveautomation.com/t/rpc-call-from-gateway-to-designer/75711/8 "2023-06-29T18:01:06Z")

</div>

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](https://forum.inductiveautomation.com/t/autogenerate-views-inside-the-perspective-view-folder-structure-self-aware-scada/63204/18)

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:

```auto
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](https://github.com/ignition-api/8.1) and other tools

Is there maybe a flag or something I should turn on/off to activate the check ?

Thanks !

---

_[View the full topic](https://forum.inductiveautomation.com/t/rpc-call-from-gateway-to-designer/75711)._
