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

vue-cli does not hot reload when running from within Dropbox folder (no special characters) #637

Closed
bugs181 opened this issue Nov 7, 2017 · 1 comment

Comments

@bugs181
Copy link

bugs181 commented Nov 7, 2017

I have a project that works fine when outside of the Dropbox folder, however if I try to make changes from within the Dropbox folder, those changes are not hot reloaded. The file path does not contain any spaces, parentheses, or other characters so that excludes the webpack/watchpack#42 issue.

Directions: Make a change to a .Vue component file and nothing happens.

File path: /Users/levi/Dropbox/Company/Project
Command: npm run dev
OS: Mac OS X Yosemite 10.10.1

Versions:
vue -V: 2.8.2
npm -v: 5.0.3
node -v: v8.1.2

package.json versions:
webpack: ^2.6.1
webpack-bundle-analyzer: ^2.2.1
webpack-merge: ^4.1.0
vue-loader: ^12.1.0
file-loader: ^0.11.1
opn: ^4.0.2

Please let me know if there are further tests I can run.

@LinusBorg
Copy link
Member

LinusBorg commented Nov 14, 2017

That's a general problem with Webpack's File watching mechanism. It usually can only be fixed by switching to a poll mechanism, whcih we made available in the template config very recently.

https://github.com/vuejs-templates/webpack/blob/develop/template/config/index.js#L21

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

2 participants