aboutsummaryrefslogtreecommitdiffstats
path: root/vite.config.js
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-01-31 00:11:08 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-01-31 02:04:59 +0100
commit836e205855413becfc2a3055cec49bde547c1117 (patch)
treeab728ad477999e8d9d3c87330db76ec65c892ef0 /vite.config.js
parent83742b4870a29fbf2bc9eead8f70c0ff02b486c9 (diff)
Vite configuration: Don't watch tile files.
This is not useful and can easily crash the server with Error: ENOSPC: System limit for number of file watchers reached
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/vite.config.js b/vite.config.js
index 30f0654..68076e9 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -27,5 +27,8 @@ export default {
host: "::1",
port: 5173,
strictPort: true,
+ watch: {
+ ignored: ['**/tiles/**'],
+ },
}
}