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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.