Add debounce for live reload
Opened this issue · 2 comments
Krakabek commented
Editing code live leads to many errors. We could add 1-2s debounce for the live reload to let user finish writing the code
niedzielski commented
I believe you can tune this by adjusting the throttle on #setSrcSideEffects() of play-pen. there's also been discussion around adding a checkbox for enabling / disabling auto-play.
Krakabek commented
I think throttle would not let me achieve the intended behaviour, I think we should switch to debounce
Will prepare a PR, so we can see it in aciton