I would like to install common Node-RED "support nodes" as a dependency of other Node-RED nodes I'm developing. I've confirmed that a dependency node is installed when installing the dependent node via the palette manager, but Node-RED has to be restarted for the dependency node to be available, just as if I had run npm install
manually.
Is this a design choice, or is it just because the dependency is installed by npm
in the background, and Node-RED doesn't know about dependencies? Should I bother to make a feature request for Node-RED to detect such modules and load them without a restart?
Btw; I read through all the (seemingly relevant) posts yielded by a search for "dependencies" under reating Nodes before posting this.
Edit: After a quick look at the code, I can see that Node-RED at least knows about dependencies... Not yet sure what it does with that knowledge, though.