Check the package.json file in your userDir, it should show your locally installed nodes. For example, on my dev PC, I have:
"dependencies": {
"node-red-contrib-cron-plus": "*",
"node-red-contrib-fs": "file:../../node-red-contrib-fs",
"node-red-contrib-moment": "file:../../node-red-contrib-moment",
"node-red-contrib-nbrowser": "~1.1.4",
"node-red-contrib-static-markdown": "file:../../node-red-contrib-static-markdown",
"node-red-contrib-telegrambot": "^6.0.1",
"node-red-contrib-telegrambot-home": "*",
"node-red-contrib-ui-led": "*",
"node-red-contrib-ui-svg": "*",
"node-red-contrib-uibuilder": "file:../../node-red-contrib-uibuilder",
"node-red-dashboard": "*",
"node-red-node-data-generator": "*",
"node-red-node-google": "*",
"normalize.css": "*",
"nr-test": "file:../../nr-test",
"uibuilder-vuejs-component-extras": "file:../../uibuilder-vuejs-component-extras",
},
There's some other stuff in there but that's the bulk. You can see the local ones because they use "file:" references.
Nope. The nodes are only loaded on startup.
Instead use a wrapper like PM2 or nodemon with a configuration setting to restart Node-RED when any of the node files change.
I use nodemon with the following in my master package.json file:
"scripts": {
"start": "nodemon --ext js,html node_modules/node-red/red.js --userDir ./data",
"start2": "set DEBUG=express:* & nodemon node_modules/node-red/red.js --userDir ./data",
"start3": "node node_modules/node-red/red.js --userDir ./data",
"doctor": "clinic doctor -- node node_modules/node-red/red.js --userDir ./data",
"bubble": "clinic bubbleprof -- node node_modules/node-red/red.js --userDir ./data",
"inspect": "node --inspect node_modules/node-red/red.js --userDir ./data",
"admin": "node node_modules/node-red-admin/node-red-admin.js",
"restart": "sudo systemctl restart node-red",
"restartnr": "node ./bin/restartnr.js one -aaa two --bb--bb three -cc-cc four five",
"log": "sudo journalctl -u node-red -f -n 0 -o cat",
"update": "npm install --unsafe-perm --production node-red",
"check": "npm outdated",
"check-data": "cd data && npm outdated",
"update-data": "cd data && npm update",
"check-master": "npm outdated",
"update-master": "npm update",
"adminui": "start http://localhost:1880/red/",
"ui": "start http://localhost:1880/ui/"
},
"nodemonConfig": {
"ignore": [
".vscode",
"/src/node-red-contrib-uibuilder/nodes/dist",
"/src/node-red-contrib-uibuilder/nodes/icons",
"/src/node-red-contrib-uibuilder/nodes/src",
"/src/node-red-contrib-uibuilder/nodes/templates",
"/src/node-red-contrib-uibuilder/node-src",
"/src/node-red-contrib-static-markdown1/node-admin-src"
],
"watch": [
"/src/node-red-contrib-static-markdown1/nodes/",
"/src/node-red-contrib-static-markdown1/",
"/src/node-red-contrib-uibuilder/nodes/",
"/src/nr-test/nodes/"
],
"env": {
"NODE_ENV": "development"
}
},