How do I stop a Node.JS application?
For example, in PHP we have something like this:
exit;
Or:
die('Mensagem.');
Is there any way to stop the Node application like this, without having to use Ctrl + C ?
How do I stop a Node.JS application?
For example, in PHP we have something like this:
exit;
Or:
die('Mensagem.');
Is there any way to stop the Node application like this, without having to use Ctrl + C ?