mirror of https://github.com/nuxt/nuxt.git
builder: add devMiddleware watching into this.compilersWatching
This commit is contained in:
parent
f880b497b2
commit
a65db22701
|
@ -627,6 +627,8 @@ module.exports = class Builder {
|
|||
)
|
||||
)
|
||||
|
||||
this.compilersWatching.push(this.webpackDevMiddleware.watching)
|
||||
|
||||
// Inject to renderer instance
|
||||
if (this.nuxt.renderer) {
|
||||
this.nuxt.renderer.webpackDevMiddleware = this.webpackDevMiddleware
|
||||
|
|
Loading…
Reference in New Issue