How it works...

By default, simple exceptions in requests won't cause Express's session to crash, but it is still possible for a process to be killed unexpectedly by the operating system itself, application configuration issues, or other unrecoverable exceptions. Forever provides a fault tolerant daemon to watch for disruptions to your application's process.

Forever is most likely to be used in a production environment that is responsible for keeping your application running all the time. To configure Forever to run on different operating system environments, you should consult the specific installation guide for your OS. For more information, you can visit the following link:

ttps://github.com/foreverjs/forever/wiki/Detailed-installation ...

Get MEAN Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.