You're going to need to be much more specific about what you're trying to do to get an informed response, here. HTML isn't compiled, so build doesn't really make sense here...
Are you building a dynamic site with ruby on rails, and have ruby, html, javascript, css, etc. resources?
Are you just authoring static pages, and just have html, javascript, and css?
What errors are you wanting to have flagged? Javascript syntax errors? Things that aren't valid XHTML?
Give us more information, and hopefully then we can do the same.
-Lee