reload method

void reload(
  1. String path
)

Forgets the model at path so the next use loads it again (its file or its cooked copy changed), and tells listeners.

Implementation

void reload(String path) {
  if (_entries.remove(path) == null) return;
  for (final listener in List.of(listeners)) {
    listener(path);
  }
}