From 9ebf4f97bb51bbcd8bb207a5d9e939fb76e5975e Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sat, 14 Oct 2023 17:50:54 +0800 Subject: [PATCH] Add `npm run start-server-dev:watch` --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2018f3db..c0fe6e26 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "start": "npm run start-server", "start-server": "node server/server.js", "start-server-dev": "cross-env NODE_ENV=development node server/server.js", + "start-server-dev:watch": "cross-env NODE_ENV=development node --watch server/server.js", "build": "vite build --config ./config/vite.config.js", "test": "node test/prepare-test-server.js && npm run test-backend", "test-with-build": "npm run build && npm test",