Reputation: 776
I am seeing all the requests being made, but I would like to add a timestamp to see when did each one happen. How can I achieve that?
Upvotes: 5
Views: 742
Reputation: 61
Use a nodemon config file named nodemon.json to print timestamp:
{
"events": {
"start": "date"
}
}
And specify the config file when running nodemon nodemon --config nodemon.json server.js
.
Upvotes: 6