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

Config file watcher on network mount won't recognize changes #336

Closed
kevinswiber opened this issue Jul 25, 2017 · 2 comments
Closed

Config file watcher on network mount won't recognize changes #336

kevinswiber opened this issue Jul 25, 2017 · 2 comments
Labels

Comments

@kevinswiber
Copy link
Member

When running in Docker with the config on a mounted volume, for example, Express Gateway doesn't recognize the change.

It's possible to change this using usePolling: true in the chokidar options, but there's a performance penalty.

See discussion here: paulmillr/chokidar#242

@kevinswiber
Copy link
Member Author

Could potentially implement this workaround: paulmillr/chokidar#242 (comment)

@DrMegavolt
Copy link
Contributor

It is fixable using CHOKIDAR_USEPOLLINGenv var
ENV CHOKIDAR_USEPOLLING true

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

No branches or pull requests

2 participants