I'm new in Node-RED' Nodes development, I have created a set of nodes to perform some specific tasks, These Nodes require continuous modifications and updates.
But whenever i install update of my Nodes in Node-RED, Node-RED force me to restart the Node-RED. I can see that the update is not required by other Nodes in Node-RED, That mean i'm doing something wrong.
Can anyone please explain(if possible) how it works.
Thanks in advance.
When developing, it is easiest to work on a local copy of node-red. You can then install your developing nodes using:
npm install /path/to/your/dev/code/
But you still need to restart node-red to pick up the latest changes to the .js file. You can simplify this by using something like PM2 with its watch feature - simply watch for changes to any key files and force a restart.