Added circular dependency `grunt dev` build log filter

no issue
- ember-data 3.6.0 outputs some benign "Circular dependency" warnings which get shown in `grunt dev` build output and cause the "Building admin client..." messages to stop repeating
- adds a filter to ignore any lines containing "Circular dependency" to keep output clean and allow the repeating build message to continue
This commit is contained in:
Kevin Ansfield 2019-03-06 09:03:07 +00:00
parent 52ad2711b7
commit 7e55715f3d
1 changed files with 6 additions and 0 deletions

View File

@ -198,6 +198,12 @@ const configureGrunt = function (grunt) {
}
},
stderr: function (chunk) {
// ember-data 3.6.0-3.7.0 outputs a "Circular dependency" warning which we want to ignore
// TODO: remove after upgrading to ember-data 3.8.0 which already filters the output
if (chunk.indexOf('Circular dependency') > -1) {
return;
}
hasBuiltClient = true;
grunt.log.error(chunk);
}