3 ms·
> You have to reload the page each time if your edit was wrong. Nope. :) Whenever you hit Ctrl-S, the VM is patched with the new definition of the function (we
by paulirish 10y ago
> You have to reload the page each time if your edit was wrong.
Nope. :) Whenever you hit Ctrl-S, the VM is patched with the new definition of the function (well, the entire file's functions, really), and then execution automatically restarts at the top of the call frame. Also, at any time, you can right-click any call frame in the "Call Stack" pane and select "Restart Frame".
- ars 10y agoI saw the guy, in the video you linked to, reload. Is that because he didn't have a breakpoint there?