1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2020-03-23 19:08:54 +02:00
parent 8e25991f63
commit 6d3f20b9f6

View File

@ -51,6 +51,7 @@ class ApiWatcher {
// convert to "text/event-stream" format
this.response.write(`data: ${JSON.stringify(evt)}\n\n`);
if (autoFlush) {
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore
this.response.flush()
}