Re:Miniflare – Simulator for developing and testing Cloudfla...
by threepointone on Friday September 24, 2021 @11:10AM
(#28643509)
Ohhh I remember this too, I hated how it consistently dropped connections. A community member fixed this for us (here https://github.com/cloudflare/wrangler/pull/2008) so that it transparently and automatically reconnects now and the experience has gotten so much better.
And of course, miniflare reduces even the chance of that to zero :)
Re:Miniflare – Simulator for developing and testing Cloudfla...
by threepointone on Friday September 24, 2021 @11:12AM
(#28643534)
We also don't have a lockin to webpack anymore (you can choose custom builds with the "javascript" type, which I admit is a little confusing). We're going to move away from even this dependency and make everything much faster and lighter, stay tuned.
Re:Miniflare – Simulator for developing and testing Cloudfla...
by yewenjie on Friday September 24, 2021 @11:16AM
(#28643582)
Making the esbuild based starter the default one in the docs will be much more helpful.
Re:Miniflare – Simulator for developing and testing Cloudfla...
by threepointone on Friday September 24, 2021 @11:20AM
(#28643644)
Honestly, agreed. Lemme take this back to the team.
Re:Miniflare – Simulator for developing and testing Cloudfla...
by eloff on Friday September 24, 2021 @12:19PM
(#28644487)
Yeah, the esbuild experience is so much nicer.
Re:Miniflare – Simulator for developing and testing Cloudfla...
by yewenjie on Friday September 24, 2021 @11:15AM
(#28643569)
Yes, seconded. Also local changes take a couple of seconds to reflect - which is sometimes really annoying for the dev experience.
Re:Miniflare – Simulator for developing and testing Cloudfla...
by threepointone on Friday September 24, 2021 @12:52PM
(#28644917)
I've faced this too, where you'll save, then hit refresh, and it show the previous version; despite the fact that we "know" that the code is changed. SO we should be able to queue requests when we have a new version uploading (and of course, make the whole thing faster). Thanks for your feedback!
Happy to see miniflare now :)