Skip to content

Commit bb868d9

Browse files
author
Marco
committed
latest
1 parent 4026fe9 commit bb868d9

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

components/webui/common/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
},
1010
"scripts": {
1111
"build": "tsc",
12+
"build:watch": "npm run build -- -w --preserveWatchOutput",
1213
"lint:check": "eslint . --max-warnings 0",
1314
"lint:fix": "npm run lint:check -- --fix"
1415
},

components/webui/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
"init": "npm clean-install --workspaces && npm --workspace common run build",
1212
"lint:check": "npm run lint:check --workspaces",
1313
"lint:fix": "npm run lint:fix --workspaces",
14-
"start": "concurrently \"npm run client:start\" \"npm run server:start\""
14+
"dev": "concurrently --raw \"npm run dev:*\"",
15+
"dev:client": "npm --workspace client run start",
16+
"dev:common": "npm --workspace common run build:watch",
17+
"dev:server": "npm --workspace server run dev"
1518
},
1619
"author": "YScope Inc. <[email protected]>",
1720
"license": "Apache-2.0",

components/webui/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "src/main.ts",
66
"scripts": {
77
"build": "tsc",
8-
"build:watch": "npm run build -- -w",
8+
"build:watch": "npm run build -- -w --preserveWatchOutput",
99
"dev:start": "fastify start --ignore-watch=.ts$ -w -l info -P dist/src/app.js",
1010
"dev": "npm run build && concurrently -k -p \"[{name}]\" -n \"TypeScript,App\" -c \"yellow.bold,cyan.bold\" \"npm:build:watch\" \"npm:dev:start\"",
1111
"start": "npm run build && fastify start -l info dist/src/app.js",

0 commit comments

Comments
 (0)