FlowFuse / FlowFuse/node-red-dashboard

PWA not reloading a third party UI node after the node is updated.

Open
#945 1 comment 0 reactions 0 assignees View on GitHub
needs-triage type:bug
Dominant language
HTML
Stars
355
Forks
82
Avg merge
4d 23h
Merged PRs (30d)
24

Description

### Current Behavior

Whilst the dashboard was running as a PWApp in Android, I updated a third party UI node in the server, restarted node-red and updated some flows.
At the time of the update the app was showing a page that did not contain the ui node, but such a page showing it had been previously opened, so the node would already have been loaded.
I could see from the ui that the modified flows had been picked up automatically, without my intervention, but when I went to a page containing the third party node I could see that it had not picked up the updated code. Pulling down to refresh did cause a refresh but still the modified node was not picked up.
In #937 @cstns suggested that it may be a PWA caching issue.

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### Environment

- Dashboard version: 1.11.1
- Node-RED version: 4.0.0-Beta.4
- Node.js version: 20.11.0
- npm version:
- Platform/OS: Android
- Browser: Chrome

### Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.