Skip to content

Commit 7f81d83

Browse files
authored
fix watch mode (#18414)
1 parent efb9b1e commit 7f81d83

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/content-service-api/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.1.5",
55
"license": "UNLICENSED",
66
"scripts": {
7-
"build": "mkdir -p lib; tsc && cp -f src/*.js src/*d.ts lib"
7+
"build": "mkdir -p lib && cp -f src/*.js src/*d.ts lib && tsc "
88
},
99
"files": [
1010
"src",

components/image-builder-api/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.1.5",
55
"license": "UNLICENSED",
66
"scripts": {
7-
"build": "tsc && cp -f src/*.js src/*d.ts lib"
7+
"build": "mkdir -p lib && cp -f src/*.js src/*d.ts lib && tsc"
88
},
99
"files": [
1010
"src",

components/ws-manager-api/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lib"
99
],
1010
"scripts": {
11-
"build": "tsc && cp -f src/*.js src/*d.ts lib",
11+
"build": "mkdir -p lib && cp -f src/*.js src/*d.ts lib && tsc",
1212
"watch": "leeway exec --package .:lib --transitive-dependencies --filter-type yarn --components --parallel -- tsc -w --preserveWatchOutput",
1313
"test": "mocha --opts mocha.opts './**/*.spec.ts' --exclude './node_modules/**'",
1414
"test:brk": "yarn test --inspect-brk"

0 commit comments

Comments
 (0)