use npm run dev:control for the vite dev server for admin components

This commit is contained in:
rash
2026-03-13 14:16:48 +01:00
parent 6024fad056
commit 477601e9f9
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class Command(Parent):
if settings.VITE_DEV_MODE and os.environ.get(DJANGO_AUTORELOAD_ENV) != "true":
# Start the vite server in the background
vite_server = subprocess.Popen(
["npm", "run", "dev"],
["npm", "run", "dev:control"],
cwd=Path(__file__).parent.parent.parent.parent.parent
)