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