Node.js not restarting the server when changing .js files?

I am currently using node -supervisor so that node collects .js changes, it works well, but I noticed that it reboots the server every time I save the js file. Is there a way to save the .js file on the server side, but not restart the server, but still the changes are automatically uploaded to node? Ie, the process will not work, but somehow it will simply update itself with new changes.

+3
source share
1 answer

You cannot download code in real time due to complications you have received (for example, memory leaks), but theoretically you should be able to do this with modules.

: livenode, ,

+2

All Articles