You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ɛərɪn VonderHaar edited this page Jun 9, 2014
·
13 revisions
The webpack-dev-middleware is a small middleware for a connect-based middleware stack. It uses webpack to compile assets in-memory and serve them. When a compilation is running every request to the served webpack assets is blocked until we have a stable bundle.
You can use it in two modes:
watch mode (default): The compiler recompiles on file change.
lazy mode: The compiler compiles on every request to the entry point.