That'd be most powerful as a learning tool (and a sweet "oh wow!" demo).
However, just a GitHub-style +/- diff view on the OpenSCAD files next to the STL diff view would be awesome (basically like the GitHub commit-range/pull-request "files" view, but with STL support).
Yup, OpenJsCad has the ability to do live editing, but it tends to render a bit slow when the models are somewhat more complex. It sends work back and forth to a background worker to generate the polygons, but it still has to send it all back to the main thread.
Unfortunately, OpenJsCad doesn't seem to have a high rate of adoption among 3D printing modelers...at least not yet.