vuepress icon indicating copy to clipboard operation
vuepress copied to clipboard

Hot reload detecting file changes, but doesn't build

Open ItsRealmy opened this issue 3 years ago • 2 comments

  • [x] I confirm that this is an issue rather than a question.

Bug report

What is expected?

When I edit a markdown file, it should just be updated when I reload the page in my browser.

What is actually happening?

It stays the same when I refresh the page. It only truly updates when I rerun the npm run dev command.

Other relevant information

  • Output of npx vuepress info in my VuePress project:
System:
    OS: Windows 10 10.0.19044
    CPU: (12) x64 AMD Ryzen 5 4600G with Radeon Graphics
  Binaries:
    Node: 16.13.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1266.0), Chromium (98.0.1108.43)
  npmPackages:
    @vuepress/core:  1.9.7
    @vuepress/theme-default:  1.9.7
    vuepress: ^1.5.3 => 1.9.7
  npmGlobalPackages:
    vuepress: Not Found
  • It does say Build completed in [about 300ms] after I update a markdown file

ItsRealmy avatar Feb 05 '22 18:02 ItsRealmy

Facing the same issue with node 17 on windows 10...

Edit: It seems that whenever the .md content is changed, the hot reload works flawlessly but the same cannot be said for config.js and other files in .vuepress

sortedcord avatar Feb 06 '22 04:02 sortedcord

Same Node 14.20 Win 10.

I see there is #2729.

chrisbraddock avatar Jul 21 '23 21:07 chrisbraddock