Commit 0234d34
committed
fix(@angular/build): isolate Vite cache per build configuration in dev server
Running two ng serve instances for the same project with different
configurations (e.g., different locales) caused "504 Outdated Optimize Dep"
errors because both instances shared the same Vite optimizer cache directory.
The fix includes the build configuration name in the Vite cache directory
path, preventing cache conflicts between concurrent dev server instances.
Closes angular#317001 parent 7fbc715 commit 0234d34
1 file changed
Lines changed: 8 additions & 1 deletion
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
166 | 173 | | |
167 | 174 | | |
168 | 175 | | |
| |||
0 commit comments