I believe this is a bug in Observable’s Inspector, as dependent cells are still updated properly. For viewof cells the Inspector normally just passes through the viewof
Variable value (the Element
). But for EventTarget
it constructs its own representation, which it then fails to update. You can see the representation update if you expand/collapse it.
/cc @mbostock