FlowFuse / node-red-dashboard

https://dashboard.flowfuse.com
Apache License 2.0
180 stars 44 forks source link

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

Open colinl opened 3 months ago

colinl commented 3 months ago

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

Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

colinl commented 2 months ago

Possibly related, or even the cause - #879.