load SSR bundle on warns too

partial fix for #1179
This commit is contained in:
Pooya Parsa 2017-07-27 21:37:24 +04:30
parent dcb4ab514e
commit e29f439ff0

View File

@ -329,7 +329,7 @@ export default class Builder extends Tapable {
this.compiler.plugin('done', async stats => {
// Don't reload failed builds
/* istanbul ignore if */
if (stats.hasErrors() || stats.hasWarnings()) {
if (stats.hasErrors()) {
return
}
// Reload renderer if available