Commit 5b7db81
committed
Fix dev server crash caused by Tailwind exiting immediately
Python's multiprocessing with spawn mode (default on macOS) sets child
stdin to /dev/null. Tailwind's --watch mode monitors stdin and exits on
EOF, so it would exit immediately after compiling, bringing down all
other dev server processes.
Pipe stdin instead so it stays open for the lifetime of the parent.1 parent 0031dbd commit 5b7db81
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
0 commit comments