send nop on start

This commit is contained in:
Elijah 2023-12-10 15:20:05 -05:00
parent 5d791150b0
commit 028f0f1f66

View file

@ -28,6 +28,9 @@ export default class VM {
this.#socket.on('connect', () => {
this.connected = true;
log("INFO", `Connected to VM at ${socketpath}`);
this.#enqueueMessage({
Operation: protocol.ProtocolOperation.NOP
});
});
this.#socket.on('data', (data) => this.#onData(data));
this.#events = new EventEmitter();