This neat little script let's you develop Express apps without using something like nodemon to reload your server between changes.
Usage:
- Put 
dev.jsoutside your project source folder,scripts/dev.jsis what I'm using. - Make sure your actual app in 
src/index.jsexports the Express instance itself without listening: 
import express from 'express'
const app = express()
app.use('/foo', (req, res) => res.send('Bar'))
export default app- Run 
node scripts/devand enjoy. 
@mariuslundgard Forgot to mention we're using https://github.com/59naga/babel-plugin-add-module-exports to work around having to use
.defaultall over the place. I've updated the Gist though since most people won't have it installed.