Skip to content

[Bug]: MAC system hot update often has problems #5951

@fengcanluoye

Description

@fengcanluoye

Version

system: mac
browsers:Chrome
npmPackages:

Version1:
"@rsbuild/core": "^1.1.4",
"@rsbuild/plugin-less": "^1.1.0",
"@rsbuild/plugin-node-polyfill": "^1.2.0",
"@rsbuild/plugin-vue2": "^1.0.2",

Version2:
"@rsbuild/core": "^1.4.14",
"@rsbuild/plugin-less": "^1.3.2",
"@rsbuild/plugin-node-polyfill": "^1.4.1",
"@rsbuild/plugin-vue2": "^1.0.4",

Details

On MAC systems, both versions of rsbuild often fail to perform hot updates. Page-level hot updates are fine, but subcomponent updates fail.

Version1:
"@rsbuild/core": "^1.1.4",
"@rsbuild/plugin-less": "^1.1.0",
"@rsbuild/plugin-node-polyfill": "^1.2.0",
"@rsbuild/plugin-vue2": "^1.0.2",

Version2:
"@rsbuild/core": "^1.4.14",
"@rsbuild/plugin-less": "^1.3.2",
"@rsbuild/plugin-node-polyfill": "^1.4.1",
"@rsbuild/plugin-vue2": "^1.0.4",

Reproduce link

https://codesandbox.io/p/github/rspack-contrib/rsbuild-codesandbox-example

Reproduce Steps

Install one of the following two versions of rsBuild

Version1:
"@rsbuild/core": "^1.1.4",
"@rsbuild/plugin-less": "^1.1.0",
"@rsbuild/plugin-node-polyfill": "^1.2.0",
"@rsbuild/plugin-vue2": "^1.0.2",
"vue": "^2.7.16",
"vue-eslint-parser": "9.1.0",
"vue-loader": "^17.4.2",
"vue-meta": "^2.4.0",
"vue-router": "^3.6.5",
"vuex": "^3.6.2"

Version2:
"@rsbuild/core": "^1.4.14",
"@rsbuild/plugin-less": "^1.3.2",
"@rsbuild/plugin-node-polyfill": "^1.4.1",
"@rsbuild/plugin-vue2": "^1.0.4",
"vue": "^2.7.16",
"vue-eslint-parser": "9.1.0",
"vue-loader": "^17.4.2",
"vue-meta": "^2.4.0",
"vue-router": "^3.6.5",
"vuex": "^3.6.2"

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions