Skip to content

Commit

Permalink
Cancel repeating client build log on build error
Browse files Browse the repository at this point in the history
refs #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`
  • Loading branch information
kevinansfield committed May 3, 2018
1 parent b0de6ea commit 58aa531
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,10 @@ var config = require('./core/server/config'),
hasBuiltClient = true;
}
},
stderr: true
stderr: function (chunk) {
hasBuiltClient = true;
grunt.log.error(chunk);
}
}
},

Expand Down

0 comments on commit 58aa531

Please sign in to comment.