From c61fc67ebc0644fb7f49158f7af25df2b6feefdb Mon Sep 17 00:00:00 2001
From: Lukas Eipert <leipert@gitlab.com>
Date: Tue, 13 Feb 2024 16:42:53 +0100
Subject: [PATCH] Fix a faulty boolean condition

We want to watch when hot module reloading is _enabled_.
---
 vite.config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vite.config.js b/vite.config.js
index 810065bd3df55..a59cb482a2d13 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -107,7 +107,7 @@ export default defineConfig({
     ],
   },
   plugins: [
-    viteCSSCompilerPlugin({ shouldWatch: viteGDKConfig.hmr === null }),
+    viteCSSCompilerPlugin({ shouldWatch: viteGDKConfig.hmr !== null }),
     viteGDKConfig.enabled ? autoRestartPlugin : null,
     fixedRubyPlugin,
     vue({
-- 
GitLab