Skip to content

Commit 1a77c63

Browse files
authored
fix: start-prod hot reload issue (#272)
* start-prod to use ng serve
1 parent f0fd37d commit 1a77c63

18 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"build:prod:ci": "npm run _internal-check-node-version && npm run clean && npm run _internal-install-sdk && npm run build:prod",
1010
"start-dev": "ng serve --port 3500",
1111
"start-dev-https": "ng serve --port 3500 --ssl --ssl-key private.key --ssl-cert private.pem",
12-
"start-prod": "http-server ./dist -c-1 --port 3500 --gzip --brotli --cors --proxy http://localhost:3500?",
13-
"start-prod-https": "http-server ./dist -c-1 --ssl --cert private.pem --key private.key --port 3500 --gzip --brotli --cors --proxy https://localhost:3500?",
12+
"start-prod": "ng serve --configuration production --port 3500",
13+
"start-prod-https": "ng serve --configuration production --port 3500 --ssl --ssl-key private.key --ssl-cert private.pem",
1414
"clean": "echo \"cleaning...\" && npx shx --yes rm -rf ./dist/** ./node_modules ./.angular/cache",
1515
"lint": "run-p -cl lint:*",
1616
"lint:es": "eslint --color --cache --cache-location node_modules/.cache/eslint/ src",

src/app/_samples/mashup/bundle-swatch/bundle-swatch.component.html renamed to src/app/_samples/embedded/bundle-swatch/bundle-swatch.component.html

File renamed without changes.

src/app/_samples/mashup/bundle-swatch/bundle-swatch.component.scss renamed to src/app/_samples/embedded/bundle-swatch/bundle-swatch.component.scss

File renamed without changes.

src/app/_samples/mashup/bundle-swatch/bundle-swatch.component.spec.ts renamed to src/app/_samples/embedded/bundle-swatch/bundle-swatch.component.spec.ts

File renamed without changes.

src/app/_samples/mashup/bundle-swatch/bundle-swatch.component.ts renamed to src/app/_samples/embedded/bundle-swatch/bundle-swatch.component.ts

File renamed without changes.

src/app/_samples/mashup/main-screen/main-screen.component.html renamed to src/app/_samples/embedded/main-screen/main-screen.component.html

File renamed without changes.

src/app/_samples/mashup/main-screen/main-screen.component.scss renamed to src/app/_samples/embedded/main-screen/main-screen.component.scss

File renamed without changes.

src/app/_samples/mashup/main-screen/main-screen.component.spec.ts renamed to src/app/_samples/embedded/main-screen/main-screen.component.spec.ts

File renamed without changes.

src/app/_samples/mashup/main-screen/main-screen.component.ts renamed to src/app/_samples/embedded/main-screen/main-screen.component.ts

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)