node-red / node-red

Low-code programming for event-driven applications
http://nodered.org
Apache License 2.0
18.93k stars 3.31k forks source link

Rewired nodes not restarted when doing a modified flows deployment #4752

Closed Ahmad44452 closed 2 weeks ago

Ahmad44452 commented 2 weeks ago

Current Behavior

From this line of code, it is visible that when a modified flows deployment is done, only the changed, removed and linked nodes are stopped and later started. This causes the whole flow to restart except the rewired nodes.

Expected Behavior

When a modified flows deployment is done, it should also restart the nodes that were rewired and not only the changed, removed and linked nodes.

Steps To Reproduce

No response

Example flow

No response

Environment

knolleary commented 2 weeks ago

Have dug into this and I agree we should be including rewired nodes in the stop list. Have raised #4754 including another scenario this was causing which was incorrect.

Will have a 3.1.10 release this week.