title: How output jade pretty print in sails?
body: <p>I try to output pretty print from jade in sails. I tried to configure jade like this:</p>
  
  <pre><code>module.exports.bootstrap = function (cb) {
      // Development environment
      if (sails.config.environment === 'development') {
  
          sails.config.express.customMiddleware = function () {
              var app = sails.express.app;
              app.set('view options', { pretty:true });
              // app.locals.pretty = true;
         }
      }
      cb();
  };
  </code></pre>
  
  <p>but it fails. Any idea how to do this correctly?</p>