0
Fork 0
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:
Kevin Ansfield 2018-05-03 13:03:29 +01:00
parent b0de6eaf87
commit 58aa531813

View file

@ -233,7 +233,10 @@ var config = require('./core/server/config'),
hasBuiltClient = true;
}
},
stderr: true
stderr: function (chunk) {
hasBuiltClient = true;
grunt.log.error(chunk);
}
}
},