mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Cancel repeating client build log on build error
refs https://github.com/TryGhost/Ghost/pull/9611 - #9611 added a repeating message to `grunt dev` output whilst waiting for a successful build but there was no handling for failed builds - modify bgShell config to cancel the repeating message when there is output on the `stderr` pipe from `ember-cli`
This commit is contained in:
parent
b0de6eaf87
commit
58aa531813
1 changed files with 4 additions and 1 deletions
|
@ -233,7 +233,10 @@ var config = require('./core/server/config'),
|
|||
hasBuiltClient = true;
|
||||
}
|
||||
},
|
||||
stderr: true
|
||||
stderr: function (chunk) {
|
||||
hasBuiltClient = true;
|
||||
grunt.log.error(chunk);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue