title: Sync delete .html files corresponding to .pug files between src/ and dist/
body: <p>I use <a href="https://github.com/gruntjs/grunt-contrib-pug" rel="nofollow noreferrer">grunt-contrib-pug</a> to compile my .pug files from src/ and distribute the corresponding .html files to dist/. Here is my pug-task config (written in .coffee):</p>
  
  <pre><code>compile:
      options: pretty: false
      files: [ {
          expand: true
          cwd: 'src/'
          src: [ '**/*.pug', '!includes/**' ]
          dest: 'dist/'
          ext: '.html'
      } ]
  </code></pre>
  
  <p>When I delete a .pug file from src/, is there any way to synchronize delete corresponding html files in dist/? I know you can use <a href="https://github.com/gruntjs/grunt-contrib-clean" rel="nofollow noreferrer">grunt-contrib-clean</a> followed by compiling the pug files again, but this is not time efficient when working with a large codebase.</p>