Skip to content

Commit dcc1d0f

Browse files
authored
Update UPGRADE.md
1 parent b68082c commit dcc1d0f

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

UPGRADE.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -328,20 +328,12 @@ You may start the SSR server using `node`:
328328
node storage/ssr/ssr.js
329329
```
330330

331-
### Optional: Update default HMR port when using Laravel Sail
331+
### Optional: Expose Vite port when using Laravel Sail
332332

333-
If you are using Laravel Sail, you need to update the default `HMR_PORT` value and the port it maps to in your `docker-compose.yml` file.
333+
If you are using Laravel Sail, you need to add a binding in your `docker-compose.yml` file for your `VITE_PORT`.
334334

335335
```diff
336-
- -'${HMR_PORT:-8080}:8080'
337-
+ -'${HMR_PORT:-5173}:5173'
338-
```
339-
340-
If you are setting the HMR_PORT in your `.env` file you will also need to update it to match.
341-
342-
```diff
343-
- HMR_PORT=8080
344-
+ HMR_PORT=5173
336+
+ -'${VITE_PORT:-5173}:5173'
345337
```
346338

347339
### Wrapping up

0 commit comments

Comments
 (0)