mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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) {
|
||||
this.pagesFilesWatcher.close()
|
||||
}
|
||||
/* istanbul ignore if */
|
||||
if (this.customFilesWatcher) {
|
||||
this.customFilesWatcher.close()
|
||||
}
|
||||
return co(function * () {
|
||||
yield promises
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user