budo
budo copied to clipboard
How do I pass options to watchify(-middleware)?
We're using budo inside a Docker container. Source code is mounted into this container using a bind mount. On Linux, budo picks up changes just fine and recreates the bundle(s) on change.
On Windows, we'd like to fall back to polling, but somehow can't get it to work.
From what I understand passing --poll
to budo itself will only affect HTML and CSS changes as the JS is handled by watchify-middleware
. watchify
has a poll
option (which I hope would resolve our issue), but I have a hard time figuring out how to pass these to the underlying watchify instance. I also tried passing poll
to browserify
(like -- --poll
), but it didn't make a difference either.
Is there any way of enabling watchify
to use poll
?