fix grunt not stopping when there is a twig error