Repository navigation
Commit 6592798
committed
Fix flaky E2E tests - added a devServerPort constant in astro.config.ts (defaults to DEV_SERVER_PORT or 4321) and wired it into vite.server.hmr.clientPort so Vite instructs the browser to negotiate HMR websockets through the same externally exposed port Astro serves on
1 parent 7194df0 commit 6592798
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
96 | 104 | | |
97 | 105 | | |
98 | 106 | | |
| |||
0 commit comments