var forever = require('forever-monitor');

var child = new (forever.Monitor)('index.js', {
  max: 10,
});

child.on('exit', function () {
  console.log('[ERR] App killed after 10 fails.');
});

child.start();
@@ -1,208 +1,23 @@
-var forever = require('forever-monitor');%0A%0Avar child = new (forever.Monitor)('index.js', %7B%0A  max: 10,%0A%7D);%0A%0Achild.on('exit', function () %7B%0A  console.log('%5BERR%5D App killed after 10 fails.');%0A%7D);%0A%0Achild.start();
+require('./index.js');%0A

Remove use of forever-agent