mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
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:
parent
52ad2711b7
commit
7e55715f3d
1 changed files with 6 additions and 0 deletions
|
@ -198,6 +198,12 @@ const configureGrunt = function (grunt) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
stderr: function (chunk) {
|
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;
|
hasBuiltClient = true;
|
||||||
grunt.log.error(chunk);
|
grunt.log.error(chunk);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue