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

enable polling in watchOptions? #1062

Closed
YAmikep opened this issue Nov 19, 2016 · 2 comments
Closed

enable polling in watchOptions? #1062

YAmikep opened this issue Nov 19, 2016 · 2 comments

Comments

@YAmikep
Copy link

YAmikep commented Nov 19, 2016

I use a VM (Ubuntu xenial) on a Windows 10 host through Vagrant and Virtualbox.

The source code of the app is on the host and available in the VM via a shared folder.
I was able to mount --bind the node_modules in the VM so that npm start works.
However, hot reloading does not work when a file changes.

If I eject npm run eject and add poll: true to the watchOptions in the start.js script, hot reloading works.

Is there a way to use polling without doing an eject?

Thanks

@thien-do
Copy link
Contributor

Hi @YAmikep is this #1049 related to your issue?

Latest discussion is we are looking for a way to detect this situation, instead of adding a config flag

@YAmikep
Copy link
Author

YAmikep commented Nov 19, 2016

Yes, that sounds about it. Thanks.
I will close this one then.

@YAmikep YAmikep closed this as completed Nov 19, 2016
@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants