mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 07:43:11 +03: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
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user