p5canvas icon indicating copy to clipboard operation
p5canvas copied to clipboard

Auto-reload handling of loops

Open ccoenen opened this issue 4 years ago • 0 comments

while adding a regular for loop, in VS Code at one point one will have an infinite loop in their editor by the nature of its autocompletion. for () in the editor will then directly be executed.

This way, whenever a loop is added, the preview window will get stuck in an infinite loop, and currently this means one must close and reopen that.

We could try to detect an endless loop while running, or maybe there's a jshint-rule for that?

ccoenen avatar Feb 03 '21 22:02 ccoenen