Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Log a timestamp when restarting #52

focusaurus opened this Issue · 0 comments

2 participants


In wrapper.js function log, I tweaked the log format to have a basic timestamp.

console.log('[\x1B[' + csi + 'm' + level.toUpperCase() + '\x1B[0m] ' + msg + ' | ' + new Date())

I often want to sanity check that my latest code has really been loaded and I find myself killing the node-dev process "just in case" when I'm worried maybe it hasn't restarted recently enough. A timestamp would give me more confidence that everything is working as it should.

This was referenced
@fgnass fgnass closed this in 7eb4ade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.