You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I switched to grunt-jade-i18n from grunt-contrib-jade and I have now an infinite loop.
It is working correctly if I run grunt jade:html
It was working correctly with grunt-contrib-jade.
But an infinite loop is now present if the jade task is run from another task.
the following rule in my Gruntfile.js (simplified):
grunt.registerTask('build', function (target) {
if (target === 'dev') {
return grunt.task.run([
'jshint',
'replace:dev',
'compass:dev',
'jade:html'
]);
}
...
});
grunt.registerTask('rebuild_all', function (target) {
if (target === 'jade') {
return grunt.task.run([
'jade:html',
'copy'
]);
}
grunt.task.run([
'build:dev',
'build:prod'
]);
});
The output on the console when I'm running grunt rebuild_all:jade is the following:
I switched to grunt-jade-i18n from grunt-contrib-jade and I have now an infinite loop.
It is working correctly if I run
grunt jade:html
It was working correctly with grunt-contrib-jade.
But an infinite loop is now present if the jade task is run from another task.
the following rule in my Gruntfile.js (simplified):
The output on the console when I'm running
grunt rebuild_all:jade
is the following:If I run
grunt jade
, it is working correctly:The text was updated successfully, but these errors were encountered: