diff --git a/apps/css-workshop/package.json b/apps/css-workshop/package.json index 45f5577d27d..87af549c2d9 100644 --- a/apps/css-workshop/package.json +++ b/apps/css-workshop/package.json @@ -17,11 +17,11 @@ "dev": "astro dev", "start": "astro dev", "build": "astro build", - "preview": "astro preview --host", + "preview": "npx -y serve dist --listen 3050 -L", "clean": "rimraf dist && rimraf node_modules && rimraf .turbo", "approve": "backstop --config=./backstop/backstop.cjs approve", "test:only": "backstop --config=./backstop/backstop.cjs test --docker", - "test": "npm-run-all -p -r \"preview\" \"test:only {1}\" --" + "test": "pnpm run preview & pnpm run test:only" }, "prettier": "configs/prettier-astro-config.js" }