From 4d983132c21d77c4eacac6070d07888c0ae7316a Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Tue, 20 Jun 2023 11:53:16 +0800 Subject: [PATCH] update: start-watch with build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1c759b5..257472f 100644 --- a/package.json +++ b/package.json @@ -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",