Repository navigation
Commit 0bcfdc3
committed
fix(vite): reject a single-process session whose dev server fails to spawn
The vite serve child had no 'error' listener. In single-process mode it is
the session's only process, so a spawn failure threw an unhandled 'error'
event instead of rejecting the session.1 parent 976eaed commit 0bcfdc3
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
553 | 555 | | |
554 | 556 | | |
555 | 557 | | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
556 | 564 | | |
557 | 565 | | |
558 | 566 | | |
| |||
993 | 1001 | | |
994 | 1002 | | |
995 | 1003 | | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
996 | 1009 | | |
997 | 1010 | | |
998 | 1011 | | |
| |||
0 commit comments