miniflare icon indicating copy to clipboard operation
miniflare copied to clipboard

Add support for specific files for tracking

Open polRk opened this issue 2 years ago • 1 comments

Example: `--watch="./build/*"

Now to many rerenders

polRk avatar Jul 15 '22 18:07 polRk

Hey! 👋 Apologies for the delayed response. I've recently returned from a long holiday and am just starting to catch up on issues now.

By default, Miniflare will only watch your worker script, and configuration files. If you'd like to trigger a custom build when other files change, you should be able to use the --build-watch-path flag. This should update your worker script.

Does this cover your use case? Let me know if I'm missing something.

mrbbot avatar Aug 11 '22 12:08 mrbbot