Reconnect to a uibuilder instance if node red is deployed

i am looking to reconnect to an open uibuilder instance automatically when a node red full deploy has taken place, is this possible? At present i have to refresh the instance for this to happen.

Any help would be appreciated as always .

Hi, this should already happen automatically. The client library instigates a running delay on disconnections. I never have to reload a page, it just works.

So if not working for you, we need to find out why. If you open your dev tools console on the browser showing the UI, you should see some output. You may need to up the logging level though which you can do from node-red or from front-end code.

Sorry work got in the way…. if i do a full deploy it dosent reconnect but any other deploy it does

This system was written entirely using AI if that may be an issue?

It shouldn't do, but AI generated code is notorious for hard-to-spot bugs.

Please check for errors or warnings appearing in the Node-RED log and do the same when viewing the page in your browser by opening the browser dev tools console.

Before proceding though, please let me know what version of node.js, Node-RED and UIBUILDER you are using - the easiest way to get that is to restart Node-RED and copy the lines from the start of the log to where is says Starting flows. e.g.:

Welcome to Node-RED
===================
14 Aug 08:51:32 - [info] Node-RED version: v4.1.0
14 Aug 08:51:32 - [info] Node.js  version: v22.15.0
14 Aug 08:51:32 - [info] Windows_NT 10.0.26100 x64 LE
14 Aug 08:51:33 - [info] Loading palette nodes
14 Aug 08:51:40 - [info] 🌐[uibuilder:web:_servePublicRoot] Custom web server in use. Serving custom root URL from '\src\uibRoot\.public'
14 Aug 08:51:43 - [info] Settings file  : D:\src\nr\data\settings.js
14 Aug 08:51:43 - [info] HTTP Static    : D:\src\nr\public > /
14 Aug 08:51:43 - [info] Context store  : 'default' [module=memory]
14 Aug 08:51:43 - [info] Context store  : 'file' [module=localfilesystem]
14 Aug 08:51:43 - [info] User directory : D:\src\nr\data
14 Aug 08:51:43 - [info] Projects directory: D:\src\nr\data\projects
14 Aug 08:51:43 - [info] Server now running at http://127.0.0.1:1880/red/
14 Aug 08:51:43 - [info] Active project : uibuilder_next_gen
14 Aug 08:51:43 - [info] Flows file     : D:\src\nr\data\projects\uibuilder_next_gen\flow.json
14 Aug 08:51:44 - [info] +-----------------------------------------------------
14 Aug 08:51:44 - [info] | 🌐 uibuilder v7.5.0 initialised
14 Aug 08:51:44 - [info] | root folder: /src/uibRoot
14 Aug 08:51:44 - [info] | Using custom ExpressJS webserver at:
14 Aug 08:51:44 - [info] |   http://192.168.1.119:3001 or http://localhost:3001/
14 Aug 08:51:44 - [info] | Installed packages:
14 Aug 08:51:44 - [info] |   dompurify, markdown-it, vue, mermaid
14 Aug 08:51:44 - [info] +-----------------------------------------------------
14 Aug 08:51:44 - [info] Starting flows