Version: 1.0.1 - Docker
Details about my project:
I'm developing a VueJS frontend, using the ws Node.js WebSocket library with reconnecting-websocket, to control/monitor the active project in node-red. I'm communicating with built-in websocket in and websocket out nodes.
node-red will be running, unattended for the most part, and controlled by an operator/technician from my front-end VueJS SPA application.
I have a requirement to dynamically load the flows that are currently being run on node-red. Since I will eventually end up with over 10,000-100,000 flow tabs, there's no way I'm willing to do this in one project, or I would. I'm using projects, and the flows in a project will only be needed depending on the present hardware.
I've been using API v2 to POST to the /flows end-point, with the flows I want as payload, and striping the "rev" property from it. I'm sending the headers
Node-RED-API-Version: v2 and
Node-RED-Deployment-Type: full. This all works, as expected.
If the editor is open, on any station, I'm prompted that "The flows on the server have been updated.", and whether I want to merge or ignore the changes.
Is there a setting I can change to prevent this prompt, and have the editor automatically reload the current server state? Maybe I'm not using the API correctly, and if so, can someone please point me in the right direction?