mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
Fix path undefined when refreshing files
This commit is contained in:
parent
664ce12662
commit
041d5c37a0
@ -389,7 +389,7 @@ export default class Builder extends Tapable {
|
|||||||
ignoreInitial: true
|
ignoreInitial: true
|
||||||
})
|
})
|
||||||
/* istanbul ignore next */
|
/* istanbul ignore next */
|
||||||
const refreshFiles = _.debounce(this.generateRoutesAndFiles, 200)
|
const refreshFiles = _.debounce(() => this.generateRoutesAndFiles(), 200)
|
||||||
|
|
||||||
// Watch for src Files
|
// Watch for src Files
|
||||||
let filesWatcher = chokidar.watch(patterns, options)
|
let filesWatcher = chokidar.watch(patterns, options)
|
||||||
|
Loading…
Reference in New Issue
Block a user