Skip to content

Commit edc6a6c

Browse files
committed
internal: fix build watch command
1 parent 0a34f12 commit edc6a6c

File tree

2 files changed

+143
-132
lines changed

2 files changed

+143
-132
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"clean": "rimraf dist",
66
"check": "eslint . --fix",
77
"prebuild": "npm run clean && npm run check",
8-
"build:watch": "concurrently \"tsc --watch\" \"node ./post-build.mjs\"",
8+
"build:watch": "nodemon --watch src --ext ts --exec \"tsc && node ./post-build.mjs\"",
99
"build": "tsc && node ./post-build.mjs",
1010
"pub": "PUBLISH=true pnpm run build",
1111
"prepublish": "pnpm test",
@@ -51,7 +51,7 @@
5151
"@types/react": "^18.3.3",
5252
"@vitejs/plugin-react-swc": "^3.7.2",
5353
"@vitest/coverage-istanbul": "^2.1.6",
54-
"concurrently": "^8.2.2",
54+
"nodemon": "^3.1.0",
5555
"eslint": "^8.57.0",
5656
"js2me-eslint-config": "^1.0.6",
5757
"js2me-exports-post-build-script": "^2.0.18",

0 commit comments

Comments
 (0)