mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-09 03:03:18 +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
|
||||
if (this.nuxt.renderer) {
|
||||
this.nuxt.renderer.webpackDevMiddleware = this.webpackDevMiddleware
|
||||
|
Loading…
Reference in New Issue
Block a user