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

use webpack devServer / webpackHotDevClient in development mode #87

Open
christopher-johnson opened this issue Dec 17, 2018 · 0 comments

Comments

@christopher-johnson
Copy link
Contributor

webpack has a devServer that works well for live reloading and hot module replacement. The dev server will always run on a different port than the e2e server so that testing can be done simultaneously with the dev environment. Optimally, a distinct webpack development configuration would accompany the implementation. The 'react-dev-utils/webpackHotDevClient' can be used for refreshing and hot updates.

See https://github.com/ubl-chj/research-and-demos/blob/history/packages/mirador3-app-base/config/webpack.config.dev.js and https://github.com/ubl-chj/research-and-demos/blob/history/packages/mirador3-app-base/scripts/start.js for reference.

closes #25

christopher-johnson added a commit to ubleipzig/research-and-demos that referenced this issue Dec 18, 2018
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

1 participant