Skip to content

Commit

Permalink
fix(webpack): remove devServer.watchOptions as it's no longer neede…
Browse files Browse the repository at this point in the history
…d, it automatically inherits global `watchOptions` now
  • Loading branch information
wintercounter committed Oct 9, 2021
1 parent 6908253 commit 624d5b2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/configs/webpack/development/devServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@ export default (d, o) => ({
disableDotRule: true
},
disableHostCheck: true,
// Inherit the same watchOptions
get watchOptions() {
return o.watchOptions || {}
}
})

0 comments on commit 624d5b2

Please sign in to comment.