devanshj/cogni

If possible detect infinite loop

devanshj opened this issue · 1 comments

Since cogni has hot reload feature an typo or mistake might cause an infinite loop. It would be nice if cogni somehow detects that. I like how CodePen does it but they inject some stuff in the js code to achieve that by communicating with outer frame via window.

Related #9