From aa8a7a25c2b4f950c8c8f7863a90589d77c06c34 Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Wed, 15 Nov 2023 14:04:41 +0800 Subject: [PATCH] chore(core): fix dev script (#4882) --- packages/core/nodemon.json | 2 +- packages/core/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/nodemon.json b/packages/core/nodemon.json index 35c39ae5f..b56fb7e92 100644 --- a/packages/core/nodemon.json +++ b/packages/core/nodemon.json @@ -1,5 +1,5 @@ { - "exec": "tsc -p tsconfig.build.json --incremental && node ./build/index.js || exit 1", + "exec": "tsc -p tsconfig.build.json --incremental && pnpm copy:apidocs && node ./build/index.js || exit 1", "ignore": [ "node_modules/**/node_modules", "../integration-tests/" diff --git a/packages/core/package.json b/packages/core/package.json index dbd88891f..a95982ec5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -17,7 +17,7 @@ "build:test": "rm -rf build/ && tsc -p tsconfig.test.json --sourcemap && pnpm run copy:apidocs", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf build/ && pnpm run copy:apidocs && nodemon", + "dev": "rm -rf build/ && nodemon", "start": "NODE_ENV=production node .", "test:only": "NODE_OPTIONS=\"--experimental-vm-modules --max_old_space_size=4096\" jest --logHeapUsage", "test": "pnpm build:test && pnpm test:only",