mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
close customFilesWatcher on nuxt::close
This commit is contained in:
parent
5d23dfc49e
commit
d98c24b9b9
@ -140,6 +140,10 @@ class Nuxt {
|
|||||||
if (this.pagesFilesWatcher) {
|
if (this.pagesFilesWatcher) {
|
||||||
this.pagesFilesWatcher.close()
|
this.pagesFilesWatcher.close()
|
||||||
}
|
}
|
||||||
|
/* istanbul ignore if */
|
||||||
|
if (this.customFilesWatcher) {
|
||||||
|
this.customFilesWatcher.close()
|
||||||
|
}
|
||||||
return co(function * () {
|
return co(function * () {
|
||||||
yield promises
|
yield promises
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user