diff options
Diffstat (limited to 'src/api/schema.js')
-rw-r--r-- | src/api/schema.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/schema.js b/src/api/schema.js index c69b09834..31f5f11d8 100644 --- a/src/api/schema.js +++ b/src/api/schema.js @@ -1707,6 +1707,10 @@ function decodeTransformOptions(bb) { result["no_summary"] = !!bb.readByte(); break; + case 24: + result["disable_hmr"] = !!bb.readByte(); + break; + default: throw new Error("Attempted to parse invalid message"); } @@ -1881,6 +1885,12 @@ bb.writeByte(encoded); bb.writeByte(23); bb.writeByte(value); } + + var value = message["disable_hmr"]; + if (value != null) { + bb.writeByte(24); + bb.writeByte(value); + } bb.writeByte(0); } |