var express = require('express');
var port = process.env.PORT || 3333;
var app = express();

app.use(express.static(__dirname + '/dev/patterns'));

app.get('/', function (req, res) {
  res.sendFile('index.html');
});

app.listen(port);

@@ -82,24 +82,214 @@
 express();%0A%0A
+%0A// Controlling shutdown of nodemon%0A// https://github.com/remy/nodemon#controlling-shutdown-of-your-script%0Aprocess.once('SIGUSR2', function () %7B%0A  process.kill(process.pid, 'SIGUSR2');%0A%7D);%0A%0A
 app.use(expr

Add process killer for controlling shutdown of nodemon When manually starting and stopping `npm run dev` script, which includes nodemon, the nodemon process doesn't always exit cleanly. This code (I think) controls the shutdown process so that there's always a clean exit