Hello,
I've made some changes to metrics.js and now I need to see them.
I've tried to kill the node gateway.js process and also the node (sudo pkill node) without success...
The only solution was to restart RPi.
Is there another easier way?
Thanks,
Mugur
sudo /etc/init.d/nodejs-moteino.sh stop
sudo /etc/init.d/nodejs-moteino.sh start
pkill node
cd into the gateway.js/moteino.js directory (ie cd /home/pi/moteino)
node gateway.js & (this runs it until you logout and will display the output to your console)
If you want to run it permanently kill it again and start it with nohup:
nohup node gateway.js &