/**
 * @flow
 * @file
 */
import express from 'express'
import chalk from 'chalk'
// import serverDecorator from './server'
const app: any = express()
const PORT: number = process.env.PORT || 3000
const serverModulePath =
	process.env.NODE_ENV === 'production'
		? './server' // Decorate server with all middlewares/routes for production
		: '../../webpack_config/server' // Mount our server-side code to dev server

const createServer: Function = require(serverModulePath).default
createServer(app)

// Start server
app.listen(PORT, () => {
	console.log(chalk.green(`SERVER IS LISTENING ON ${PORT}`))
})

@@ -79,64 +79,38 @@
 lk'%0A
-// import serverDecorator from './server'%0Aconst app: any
+const app: express$Application
  = e
@@ -139,16 +139,17 @@
 umber = 
++
 process.
@@ -187,16 +187,24 @@
 dulePath
+: string
  =%0A%09proc

add more flow types