next-issue 6.6.69 → 6.6.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/serve.mjs +1 -0
- package/package.json +1 -1
package/dist/serve.mjs
CHANGED
|
@@ -108,6 +108,7 @@ export async function startWorker(options) {
|
|
|
108
108
|
send(socket, runsMessage(runs));
|
|
109
109
|
void sendQuestions(options.root, () => [socket]);
|
|
110
110
|
socket.on('close', closeWhenIdle);
|
|
111
|
+
socket.on('error', () => socket.terminate());
|
|
111
112
|
socket.on('message', (data) => {
|
|
112
113
|
const value = parseMessage(String(data));
|
|
113
114
|
if (value === undefined) {
|