mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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
|
||||
})
|
||||
/* istanbul ignore next */
|
||||
const refreshFiles = _.debounce(this.generateRoutesAndFiles, 200)
|
||||
const refreshFiles = _.debounce(() => this.generateRoutesAndFiles(), 200)
|
||||
|
||||
// Watch for src Files
|
||||
let filesWatcher = chokidar.watch(patterns, options)
|
||||
|
Loading…
Reference in New Issue
Block a user