miniflare icon indicating copy to clipboard operation
miniflare copied to clipboard

Fix some premature reloads with chokidar awaitWriteFinish

Open evrys opened this issue 3 years ago • 1 comments

Fixes some cases of #34 where miniflare reloads the worker js file as it is being written to (e.g. by webpack), rather than when it has finished emitting. Seems to particularly be a problem on Windows.

evrys avatar Dec 09 '21 07:12 evrys

Hey! 👋 Thanks for the PR! 🙂

Unfortunately, I haven't had time to maintain Miniflare 1, so it's kinda in limbo...

However, I've been working on Miniflare 2 which is hopefully going to be released very soon. You can try out a pre-release with npm i miniflare@next, find the full changelog here, and migration guide here.

mrbbot avatar Dec 10 '21 21:12 mrbbot