reset method

void reset()

Should be invoked when frontend server compiler should forget what was accepted previously so that next call to compile produces complete kernel file.

Implementation

void reset() {
  if (_state == _ClientState.compiling) {
    throw StateError(
        'Called `reset` during an active compile, you must wait for that to '
        'complete first.');
  }
  _sendCommand('reset');
  _state = _ClientState.waitingForRecompile;
}