'use strict';

require('babel-core/register')({});

var server = require('./server').default;

const PORT = process.env.PORT || 3000;

server.listen(PORT, function () {
  console.log('Server listening on: ' + PORT);
});

'use strict';

require('babel-register')({});

var server = require('./server').default;

const PORT = process.env.PORT || 3000;

server.listen(PORT, function () {
  console.log('Server listening on: ' + PORT);
});

Use babel-register instead of babel-core/register
[server] Use babel-register instead of babel-core/register
