aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
authorpacien2022-11-19 18:39:15 +0100
committerpacien2022-11-19 18:39:15 +0100
commit559422535126af1484b50bfa22cc40375df1231b (patch)
tree0a0c1d722729bec015809272d27e194f2bcb69ec /viewer
parentf41aea79933d46ed6f57f22a8f389608c4b22876 (diff)
downloadldgallery-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.
Diffstat (limited to 'viewer')
-rw-r--r--viewer/vue.config.js3
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 => {