Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I pass options to watchify(-middleware)? #247

Open
m90 opened this issue Feb 12, 2020 · 0 comments
Open

How do I pass options to watchify(-middleware)? #247

m90 opened this issue Feb 12, 2020 · 0 comments

Comments

@m90
Copy link

m90 commented Feb 12, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant