diff --git a/Gruntfile.js b/Gruntfile.js
index 1a0531b9f156020505f0aea63c425db8b04b2eb0..5ba8abbfb95f690c407e3d2828493ac979b0bfab 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -195,6 +195,7 @@ module.exports = function (grunt) {
       options: {
         charset: 'utf-8',
         doctype: 'HTML5',
+        failHard: true,
         reset: true,
         relaxerror: [
           'Bad value X-UA-Compatible for attribute http-equiv on element meta.',