@pure-ds/core 0.5.14 → 0.5.15
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/package.json
CHANGED
|
@@ -398,7 +398,7 @@ function startReloadServer() {
|
|
|
398
398
|
'Access-Control-Allow-Origin': '*'
|
|
399
399
|
});
|
|
400
400
|
|
|
401
|
-
res.write('retry: 1000
|
|
401
|
+
res.write('retry: 1000\\n\\n');
|
|
402
402
|
reloadClients.add(res);
|
|
403
403
|
|
|
404
404
|
req.on('close', () => {
|
|
@@ -413,7 +413,7 @@ function startReloadServer() {
|
|
|
413
413
|
|
|
414
414
|
function notifyReload() {
|
|
415
415
|
for (const client of reloadClients) {
|
|
416
|
-
client.write('data: reload
|
|
416
|
+
client.write('data: reload\\n\\n');
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
|
|
@@ -478,7 +478,7 @@ function startReloadServer() {
|
|
|
478
478
|
'Access-Control-Allow-Origin': '*'
|
|
479
479
|
});
|
|
480
480
|
|
|
481
|
-
res.write('retry: 1000
|
|
481
|
+
res.write('retry: 1000\\n\\n');
|
|
482
482
|
reloadClients.add(res);
|
|
483
483
|
|
|
484
484
|
req.on('close', () => {
|
|
@@ -493,7 +493,7 @@ function startReloadServer() {
|
|
|
493
493
|
|
|
494
494
|
function notifyReload() {
|
|
495
495
|
for (const client of reloadClients) {
|
|
496
|
-
client.write('data: reload
|
|
496
|
+
client.write('data: reload\\n\\n');
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
|