title: Grunt - Compile Multiple Jade Files using the Pug plugin
body: <p>I have a Laravel directory structure and I have my Jade templates in the /resources/assets/jade/ folder. </p>
  
  <p>Inside this folder will have multiple sub-directories which I will need to copy their exact structure to the /public/app/ directory where my app will be served from..</p>
  
  <p>I have also got Typescript files being compiled into the same directory structure so its very important that the directory layout is copied as I have set it up.. I cant seem to do this successfully using the Grunt Pug plugin.. any help greatly appreciated, heres what I have so far:</p>
  
  <pre><code>        module.exports = function(grunt) {
            grunt.initConfig({
              pkg: grunt.file.readJSON('package.json'),
              pug: {
                      compile: {
                          options: {
                              client: false,
                              pretty: true,
                              data: {
                                  debug: false
                              }
                          },
                          files: [{
                              'public/app/index.html': ['resources/assets/jade/index.jade']
                          },
                          {
                              src: "resources/assets/jade/*.jade",
                              dest: "public/app",
                              expand: true,
                              ext: ".html"
                          } ]
                      }
                  },
            });
            grunt.loadNpmTasks('grunt-contrib-pug');
            grunt.registerTask('default', ['pug'] );
  
          };
  </code></pre>