// DEPENDENCIES
var express = require('express');
var app = express();

var port = process.env.PORT || process.argv[2] || 8080;

app.use(express.static('public'));

app.listen(port);
console.log(`I can hear you on port ${port}!`);

// DEPENDENCIES
var express = require('express');
var app = express();

var port = process.env.PORT || 8080;

app.use(express.static('public'));

app.listen(port);
console.log(`I can hear you on port ${port}!`);

module.exports.port = port;

Remove ability to pass port as arg
Remove ability to pass port as arg

Cucumber adds arguments to server start command which caused the port to
be assigned to NaN and it would break the server.
