diff --git a/app-vite/lib/quasar-config-file.js b/app-vite/lib/quasar-config-file.js
index <HASH>..<HASH> 100644
--- a/app-vite/lib/quasar-config-file.js
+++ b/app-vite/lib/quasar-config-file.js
@@ -307,7 +307,8 @@ class QuasarConfFile {
       metaConf
     }
 
-    if (this.#ctx.dev) {
+    // if DEV and not BEX mode (BEX does not use a regular devserver)
+    if (this.#ctx.dev && this.#ctx.mode.bex !== true) {
       if (this.#opts.host) {
         cfg.devServer.host = this.#opts.host
       }
feat(app-vite): do not parse and configure devserver options when in BEX mode (not needed)