Output which file failed to compile
This commit is contained in:
parent
dc66a34f38
commit
7b290ffe80
@ -53,7 +53,7 @@ module.exports = function(grunt) {
|
|||||||
compiled = _.template(src, false, options.templateSettings).source;
|
compiled = _.template(src, false, options.templateSettings).source;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
grunt.log.error(e);
|
grunt.log.error(e);
|
||||||
grunt.fail.warn('JST failed to compile.');
|
grunt.fail.warn('JST "' + filepath + '" failed to compile.');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.prettify) {
|
if (options.prettify) {
|
||||||
|
Loading…
Reference in New Issue
Block a user