Commit b874618
authored
fix: prefer local repo build over stale cached frontend in serve command (#43)
_start_frontend() checked the cached download (~/.repowise/web/) before
the local repo build. When a stale cache existed, it always served that
version even though serve_command() had determined the local build was
the correct one to use. Swap the priority so local builds are preferred,
with the cached download as a fallback for pip-installed users.1 parent 24be8c7 commit b874618
1 file changed
Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
| 263 | + | |
273 | 264 | | |
274 | 265 | | |
275 | 266 | | |
276 | | - | |
277 | 267 | | |
278 | 268 | | |
279 | 269 | | |
| |||
292 | 282 | | |
293 | 283 | | |
294 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
295 | 294 | | |
296 | 295 | | |
297 | 296 | | |
| |||
0 commit comments