Reputation: 59475
I'm looking for a way to log text in a javascript node.js file in the terminal and not have that process exit.
console.log('hello-world')
process.doNotExit()
There are many different things I've done in the past like connect to a database that prevent the process from exiting.
I'm looking for something different from the forever
module.
Upvotes: 1
Views: 27