npx medusa develop
ignores serve: false
from medusa-config.js
#7263
Labels
npx medusa develop
ignores serve: false
from medusa-config.js
#7263
Bug report
Describe the bug
Starting the admin dashboard and the server in their own processes does not work as stated in the documentation.
If I understand the documentation correctly, this configuration:
should not start the Webpack dev server that is used for development. But that is exactly what happens.
System information
Medusa version (including plugins): v1.20.6
Node.js version: v20.12.1
Database: Postgres v10.4 (Docker Container)
Operating system: maxOS Sonoma 14.3
Browser (if relevant): ---
Steps to reproduce the behavior
npx create-medusa-app@latest
medusa-config.js
autoRebuild: false
andserve: false
is setyarn run dev
--> The Webpack dev server ist started when executing
yarn run dev
Expected behavior
Do not start the Webpack dev server for the Admin Dashboard if serve is set to false in the medusa-config.js. This allows the user to start the dev server as it's own process like the documentation states.
Screenshots
If applicable, add screenshots to help explain your problem
Code snippets
If applicable, add code samples to help explain your problem
Additional context
medusa-config.js
package.json
The text was updated successfully, but these errors were encountered: