Skip to content

Commit 8bdf6c0

Browse files
fix: rename watch command to dev (#1490)
1 parent 281080c commit 8bdf6c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This project uses Node.js and npm. To develop, follow these steps:
3333
Additionally, this project provides the following commands:
3434

3535
- `npm run build`: Run the build process
36-
- `npm run watch`: Monitor file changes and auto-build
36+
- `npm run dev`: Monitor file changes and auto-build
3737
- `npm run lint`: Check code style
3838
- `npm run format`: Format the code style
3939
- `npm run package`: Create a package (ZIP file) of the extension

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"format": "npx prettier --write ./src/ts/**/*.ts ./src/html/**/*.html ./src/css/**/*.css",
1111
"format:check": "npx prettier --check ./src/ts/**/*.ts ./src/html/**/*.html ./src/css/**/*.css",
1212
"build": "npx cross-env NODE_OPTIONS=--experimental-transform-types NODE_ENV=production npx rspack build",
13-
"watch": "npx cross-env NODE_OPTIONS=--experimental-transform-types NODE_ENV=development npx rspack build --watch",
13+
"dev": "npx cross-env NODE_OPTIONS=--experimental-transform-types NODE_ENV=development npx rspack build --watch",
1414
"ci:build": "npx cross-env NODE_OPTIONS=--experimental-transform-types NODE_ENV=production npx rspack build --env updateUserScripts",
1515
"package": "tsx ./script/package.ts",
1616
"version": "npm run package && git add .",

0 commit comments

Comments
 (0)