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 reload in dev only #240

Merged
merged 1 commit into from
May 13, 2016
Merged

Hot reload in dev only #240

merged 1 commit into from
May 13, 2016

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented May 13, 2016

The doc site has hot reloading for development purposes. Previously, we were running hot reload in the production doc site as well. This PR limits HMR to dev only. It also makes a minified production build for the doc site.

vendor: [
webpackHotMiddlewareEntry,
...config.compiler_vendor,
],
} : {
app: APP_ENTRY,
vendor: config.compiler_vendor,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can see we were still putting HMR in the vendor bundle.

@levithomason levithomason changed the title Hotreload in dev only Hot reload in dev only May 13, 2016
@kyleturco
Copy link
Contributor

📟 looks good

@levithomason levithomason merged commit 398f806 into master May 13, 2016
@levithomason levithomason deleted the feature/hotreload-dev-only branch May 13, 2016 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants