PROGRAMMING July 25, 2020

[vuepress] Hot reload not working

Words count 858 Reading time 1 mins. Read count 0

Environment

  System:
    OS: macOS 10.15.4
  Binaries:
    Node: 14.3.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
  Browsers:
    Chrome: 83.0.4103.61
  npmPackages:
    @vuepress/core:  1.5.0
    @vuepress/theme-default:  1.5.0
    vuepress: ^1.5.0 => 1.5.0

Solution

I got it working by downgrading watchpack to 1.6.1.

Just add resolutions section to package.json

and run yarn install

  "resolutions": {
    "watchpack": "1.6.1"
  }
0%