diff --git a/bin/www b/bin/www index 52a2438..7c0363d 100755 --- a/bin/www +++ b/bin/www @@ -28,9 +28,8 @@ require('../socket/socket')(io) * Listen on provided port, on all network interfaces. */ -server.listen(port); +server.listen(port, onListening); server.on('error', onError); -server.on('listening', onListening); /** * Normalize a port into a number, string, or false.