Repository navigation
Commit 47f8c02
fix(dev): rebuild Vite's dependency cache on every dev start
A cached dependency set is reused whenever the lockfile and config are
unchanged, even if the code now imports something new (a rebase, a branch
switch, an agent adding an icon). Vite then discovers the import mid-load,
re-bundles, renames shared chunks and reloads; WebKit is left requesting
deleted chunks and the app never renders. `vite --force` rescans at start,
costing well under a second.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Honey <44b804aa12cc643328829fa31c020063ef3636c3a73c38ca49641c7626c11bb1@buzz.block.builderlab.xyz>1 parent 1fa10db commit 47f8c02
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments