Skip to content

Commit 37a41b9

Browse files
committed
Fix custom ui sample
1 parent 53e7643 commit 37a41b9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

spring-boot-admin-samples/spring-boot-admin-sample-custom-ui/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To develop the ui on an running server the best to do is
1010

1111
1. Running the ui build in watch mode so the resources get updated:
1212
```shell
13-
npm run watch
13+
npm run build:watch
1414
```
1515
2. Run a Spring Boot Admin Server instances with the template-location and resource-location pointing to the build output and disable caching:
1616
```
@@ -28,5 +28,5 @@ npm run build
2828

2929
Repeated build with watching the files:
3030
```shell
31-
npm run watch
31+
npm run build:watch
3232
```

spring-boot-admin-samples/spring-boot-admin-sample-custom-ui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"build": "vite build",
88
"build:dev": "NODE_ENV=development vite build --emptyOutDir --sourcemap --mode development",
9+
"build:watch": "NODE_ENV=development vite build --emptyOutDir --watch --sourcemap --mode development",
910
"preview": "vite preview"
1011
},
1112
"dependencies": {

0 commit comments

Comments
 (0)