From 836e205855413becfc2a3055cec49bde547c1117 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 31 Jan 2024 00:11:08 +0100 Subject: 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 --- vite.config.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vite.config.js') 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/**'], + }, } } -- cgit v1.2.3