unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue
https://www.npmjs.com/package/unplugin-vue-components
MIT License
3.65k stars 341 forks source link

No Hot reload import For Webpack 4 (draft - will provide Reproduction Repos in few days) #746

Closed Wakanlolz closed 1 month ago

Wakanlolz commented 2 months ago

Describe the bug

Problem: When running the server with npm run dev and adding a new component file, the hot reload feature does not detect and import the new component automatically. Instead, it requires stopping the server and restarting it for the new component to be recognized.

Environment:

Observations:

References:

Reproduction

WIP

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (8) x64 Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
    Memory: 5.80 GB / 23.79 GB
  Binaries:
    Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
    npm: 8.6.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 7.9.5 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Chromium (123.0.2420.81)
    Internet Explorer: 11.0.22621.1

Used Package Manager

npm

Validations

Wakanlolz commented 1 month ago

migrated to vite 4 🧇