web-infra-dev / rspack

The fast Rust-based web bundler with webpack-compatible API 🦀️
https://rspack.dev
MIT License
10.04k stars 573 forks source link

[Bug]: warning `failed to get stats` with lazyCompilation in dev mode #8503

Open bigbossx opened 1 day ago

bigbossx commented 1 day ago

System Info

Image

Details

when i use rsbuild v1.0.19 with lazyCompilation mode.

the browser will show hmr connect and reload, and wait compilation done

But in v1.1.4 the browser will remain on the white page unless you refresh the page manually. it's a bad dev experience

Reproduce link

No response

Reproduce Steps

export default defineConfig({
  dev: {
    progressBar: true,
    lazyCompilation: true
  },
})
rsbuild dev