Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better console.log support

  • Loading branch information...
commit d43fd4720fe59f023aafe154890f3558739ab6f3 1 parent bd7ef9e
Nicholas Penree authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  snippets/javascript/app.listen.snippet
View
2  snippets/javascript/app.listen.snippet
@@ -1,3 +1,3 @@
app.listen(${1:3000}, ${2:function(){
- console.log('app started on port 3000');
+ console.log("App server listening on port %d", app.address().port);
}});
Please sign in to comment.
Something went wrong with that request. Please try again.