mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
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
|
// Inject to renderer instance
|
||||||
if (this.nuxt.renderer) {
|
if (this.nuxt.renderer) {
|
||||||
this.nuxt.renderer.webpackDevMiddleware = this.webpackDevMiddleware
|
this.nuxt.renderer.webpackDevMiddleware = this.webpackDevMiddleware
|
||||||
|
Loading…
Reference in New Issue
Block a user