mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed never ending "Building admin client" messages using grunt dev
no issue - ember-cli stopped outputting the "Build successful" text that we were looking for as an indication of completion
This commit is contained in:
parent
40d74ec3e0
commit
36511f5a6d
1 changed files with 1 additions and 7 deletions
|
@ -195,17 +195,11 @@ const configureGrunt = function (grunt) {
|
|||
grunt.log.write(chunk);
|
||||
}
|
||||
|
||||
if (chunk.indexOf('Build successful') !== -1) {
|
||||
if (chunk.indexOf('Slowest Nodes') !== -1) {
|
||||
hasBuiltClient = true;
|
||||
}
|
||||
},
|
||||
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…
Add table
Reference in a new issue