egg icon indicating copy to clipboard operation
egg copied to clipboard

HMR not working on wsl2.

Open mu-yu opened this issue 3 years ago • 1 comments

What happens?

HMR not working on wsl2. Does egg-bin has workaround like 'poll' for webpack?

Mini Showcase Repository(REQUIRED)

Provide a mini GitHub repository which can reproduce the issue. Use npm init egg --type=simple bug then upload to your GitHub

How To Reproduce

Steps to reproduce the behavior:

  1. run any egg project on wsl2
  2. make some change, hmr not working.

Expected behavior

  1. hmr working.

Context

  • Node Version: v14.5.0
  • Egg Version: 2.14.0
  • Plugin Name:
  • Plugin Version:
  • Platform: wsl2

mu-yu avatar Dec 15 '21 10:12 mu-yu

try https://github.com/eggjs/egg-watcher-chokidar maybe help

atian25 avatar Dec 25 '21 06:12 atian25