I use the node-supervisor tool to automatically reload files in node.js.
It is quite simple to use: install it using the described steps, then use the command
supervisor <path/to/app.js>
Code language: HTML, XML (xml)
instead of
node <path/to/app.js>
Code language: HTML, XML (xml)
Hope this is helpful out there! 🙂
Read more: