diff options
author | pacien | 2022-11-19 18:39:15 +0100 |
---|---|---|
committer | pacien | 2022-11-19 18:39:15 +0100 |
commit | 559422535126af1484b50bfa22cc40375df1231b (patch) | |
tree | 0a0c1d722729bec015809272d27e194f2bcb69ec | |
parent | f41aea79933d46ed6f57f22a8f389608c4b22876 (diff) | |
download | ldgallery-559422535126af1484b50bfa22cc40375df1231b.tar.gz |
viewer/build: exclude node_modules from live reload
That directory can be huge and expensive to watch for changes.
The documenation recommends excluding it.
-rw-r--r-- | viewer/vue.config.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/viewer/vue.config.js b/viewer/vue.config.js index e49909f..ef6d262 100644 --- a/viewer/vue.config.js +++ b/viewer/vue.config.js | |||
@@ -39,6 +39,9 @@ module.exports = defineConfig({ | |||
39 | cache: { | 39 | cache: { |
40 | type: 'filesystem', | 40 | type: 'filesystem', |
41 | }, | 41 | }, |
42 | watchOptions: { | ||
43 | ignored: /node_modules/, | ||
44 | }, | ||
42 | }, | 45 | }, |
43 | 46 | ||
44 | chainWebpack: config => { | 47 | chainWebpack: config => { |