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

Hot reloading fails if path has special characters in it ie Dropbox Business #665

Closed
fo-rk opened this issue Feb 21, 2017 · 7 comments
Closed

Comments

@fo-rk
Copy link

fo-rk commented Feb 21, 2017

Not sure if this is an issue, or an issue for hotreload middleware, but if you are serving app from Dropbox business folder, (which forces you to use Dropbox (Business Name) as a name format), the hot reloading feature doesn't work anymore.

@kazupon
Copy link
Member

kazupon commented Feb 23, 2017

Thank you for your filling!

I can understand about Dropbox business folder.
Can you tell us the more explanation it?

@LinusBorg
Copy link
Member

LinusBorg commented Feb 23, 2017

@kapuzon that's a problem of webpack-hot-middleware (or even webpack-core's --watch feature). it watches the files on the file system, and that mechanism collides with Dropbox' file watch functionality.

Happens with other sync services as well.

I think we can do little about it in vue-loader.

@LinusBorg
Copy link
Member

@monowales after some research: does the path to your Dropbox folder contain spüecial chars like parenthesis? Dropbox for business adds something like Dropboxy (Personal) which seems to choke the --watch capabilities of webpack.

webpack/watchpack#42

@fo-rk
Copy link
Author

fo-rk commented Feb 23, 2017

Thanks for responses guys. Yep @LinusBorg, see title. Is the done thing to just wait for the dependency library maintainers to get around to fixing this? (webpack --watch relies on chokidar, relies on glob, which seems to be root of the problem.)

@LinusBorg
Copy link
Member

LinusBorg commented Feb 23, 2017

Well, we can't fix webpack or its dependencies ...

Could you maybe try a symlink as a workaround?

@fo-rk
Copy link
Author

fo-rk commented Feb 23, 2017

Thanks @LinusBorg, I already have a symlink to Dropbox for development, and that doesn't solve it. I've hacked the chokidar dependency to require at least 3.0.0 of is-glob now and it seems to be working. I think this is unstable for Windows users though, which is why it hasn't been included yet. Still, for Mac and vue-loader users, this might be a handy short term fix...

Thanks for the great work by the way.

@yyx990803
Copy link
Member

Closing since this seems to be out of our hands?

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

4 participants