mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
use npm run dev:control for the vite dev server for admin components
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user