Hacker News new | ask | show | jobs
by ggpp 1946 days ago
I write a lot of frontend JS with hot reloading

make change => see result => cmd-z 1 time to fix result OR commit and keep coding

oops, it wasn't really fixed. cmd-z 3 times and see if that works

I know it's wrong, but what's right?

1 comments

> I know it's wrong, but what's right?

Nah, it's not wrong. You're testing your code changes live.

no it's webpack HMR

(I know you're joking)

Hmm... I actually wasn't. By "live" I mean in the developer's own browser.
Ohhh, I thought it was a riff on "I don't always test my code, but when I do, I do it in production."