mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
refactor: styleResources watch patterns
This commit is contained in:
parent
f45a114021
commit
a764fb691d
@ -669,8 +669,8 @@ module.exports = class Builder {
|
||||
|
||||
// Watch for custom provided files
|
||||
let customPatterns = _.concat(
|
||||
this.options.build.watch,
|
||||
..._.values(_.omit(this.options.build.styleResources, ['options']))
|
||||
this.options.build.watch || [],
|
||||
_.values(_.omit(this.options.build.styleResources, 'options'))
|
||||
)
|
||||
customPatterns = _.map(_.uniq(customPatterns), p =>
|
||||
upath.normalizeSafe(p)
|
||||
|
Loading…
Reference in New Issue
Block a user