title: Where place forever-monitor code?
body: <p>I am trying to set up forever-monitor. </p>
  
  <p>I added this to my app.js:</p>
  
  <pre><code>var forever = require('forever-monitor');
  
  var child = new(forever.Monitor)('app.js', {
      max: 3,
      silent: true,
      options: []
  });
  
  child.on('exit', function() {
      console.log('app.js has exited after 3 restarts');
  });
  
  child.start();
  </code></pre>
  
  <p>However when I start my application from the command line it logs 'app.js has exited after 3 starts' but it still runs. In which file should this code be placed? Am I missing something about the usage of forever-monitor?</p>