'use strict'

var connect = require('connect');
var serveStatic = require('serve-static');

var port = process.env.NODE_ENV === 'development' ? 6001 : 3000;

connect()
  .use(serveStatic(__dirname))
  .listen(port, function(){
    console.log('Server running on', port);
})

'use strict'

var connect = require('connect');
var serveStatic = require('serve-static');

var port = process.env.NODE_ENV === 'development' ? 3000 : 80;

connect()
  .use(serveStatic(__dirname))
  .listen(port, function(){
    console.log('Server running on', port);
})

Change development and production ports
Change development and production ports
