Skip to content
Latchkey

Hot Module Replacement - CI/CD Glossary Definition

Hot module replacement updates changed modules live in the browser without a full reload, speeding up development.

Hot module replacement (HMR) swaps updated modules into a running application without a full page reload, preserving state during development. It is a dev-server feature and is not used in production builds.

HMR is served by the dev server and applies only to the development build. It preserves component state while you edit, unlike a hard refresh. It has no role in CI production builds, which emit static optimized files instead.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →