update: start-watch with build

This commit is contained in:
windingwind 2023-06-20 11:53:16 +08:00
parent f22a071042
commit 4d983132c2

View File

@ -18,7 +18,7 @@
"build": "concurrently -c auto npm:build-prod npm:tsc",
"tsc": "tsc --noEmit",
"start": "node scripts/start.mjs",
"start-watch": "concurrently -c auto npm:start npm:watch",
"start-watch": "npm run build-dev && concurrently -c auto npm:start npm:watch",
"stop": "node scripts/stop.mjs",
"restart-dev": "npm run build-dev && npm run stop && npm run start",
"restart-prod": "npm run build-prod && npm run stop && npm run start",