title: How to auto-generate html from jade file when only included markdown file has changed in livereload development environment?
body: <p>So I've got a file like this:</p>
  
  <pre><code># index.html.jade
  p Test
  include content.md
  </code></pre>
  
  <p>So <strong>if I change the content of <code>content.md</code> <code>out/index.html</code> is not regenerated</strong> (because the <code>index.html.jade</code> file itself of course has not changed).
  (I am using <em>livereload</em> - <a href="https://github.com/jh3y/html5-boilerplate-jade-less-livereload.docpad/blob/master/src/files/README.md" rel="nofollow">in the HTML 5 Boilerplate</a> docpad template - and the so the browser does not refresh on a valid change :-( )</p>
  
  <p>On the other hand the final <code>out/index.html</code> file of the previous and current version (after the <code>content.md</code> change) are different (most likely on visible changes).</p>
  
  <p>I see ways how this could/should be treated (maybe it is already possible):</p>
  
  <ul>
  <li><p>the (jade) change-checking should also consider dependent files that may influence the output (e.g. <code>include</code>d files) and thus regenerate the including files if the included ones changed</p></li>
  <li><p>workarounds (if the above should be tricky within the framework): </p>
  
  <ul>
  <li>option to regenerate all or some files on changes to certain other ones (or at least a re-generation of all files for ease of development)
  <ul>
  <li>if the project is not too big this should be no big deal</li>
  </ul></li>
  </ul></li>
  </ul>