-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Put hotMiddleware before proxyMiddleware in dev server #837
Conversation
Thanks for this. is there any info/docs that I can read up on this behaviour? |
Not that I know of. I've never used |
Thanks for the background info. Will try this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay that's fine
* vuejs-templates/master: (29 commits) Fix missing dependency bumps (vuejs-templates#987) Bumping Vue+VueRouter versions, some minor fixes. (vuejs-templates#986) stick to ES5 v1.1.1 downgrade airbnb config to ensure compaibility with eslint. Typo fixed: 'use stxrict' -> 'use strict' (vuejs-templates#955) We now have port-detection, so README should reflect that. Revision of wording in the README docs (vuejs-templates#958) add version tag to config/index.js add version tag to config/index.js Reference dev script in start script instead of copy pasting (vuejs-templates#894) Reference dev script in start script instead of copy pasting (vuejs-templates#894) Put hotMiddleware before proxyMiddleware in dev server (vuejs-templates#837) fix component filename Rename Hello component to HelloWorld (vuejs-templates#944) bump more deps Add .vscode to gitignore (vuejs-templates#845) update URL of ESLint to https (vuejs-templates#927) Fix small errors in webpack.prod.conf (vuejs-templates#897) Standardize base webpack module variable name (vuejs-templates#912) ... # Conflicts: # template/build/dev-server.js # template/build/webpack.prod.conf.js # template/package.json # template/src/components/HelloWorld.vue
Hot reload breaks when there are entries in the proxy table in config/index.js. In the dev server, using the hot reload middleware before the proxy middleware fixes the problem.