4 ms·
You could always use regular JS and have that...
by dismalaf 2y ago
You could always use regular JS and have that...
- baq 2y ago1) over my dead body and 2) it doesn’t make sense for it to be possible in JS and not possible in TS.
- dismalaf 2y ago2) I thought the issue was compilation from TS -> JS. So what's the issue? I remember live coding in JS like 15 years ago, have dev environments just gotten weird and convoluted?
- baq 2y agoNo idea. My working theory is the gotta go fast folks at v8 don’t care about live hot reload because that doesn’t give them ad revenue, so they just wontfixed the whole thing and there is no alternative on the backend if you want typescript.
- dismalaf 2y agoThis doesn't make sense because you can definitely do live coding in Chrome devtools (which uses V8 of course) and in Nodejs (--watch will reload code changes automatically and there's ways to keep application state through code changes). Edit - can also apparently do it with TS directly with Deno (also V8), here's an example: https://dev.to/craigmorten/how-to-code-live-browser-refresh-in-deno-309o https://dev.to/craigmorten/how-to-code-live-browser-refresh-...
- baq 2y agoI’ll be very happy to be wrong here! Looking at these, thanks