preactjs / wmr

👩‍🚀 The tiny all-in-one development tool for modern web apps.
https://wmr.dev/
MIT License
4.93k stars 109 forks source link

Symlinked folder inside public messes HMR refresh #879

Open ruifortes opened 3 years ago

ruifortes commented 3 years ago

Hello. I have a symlinked folder inside public. Has soon as a file changes in the that folder changes in public no longer trigger update. Before changing files in that folder watcher properly catches changes in the public folder. I'm using windows 10

developit commented 3 years ago

Ah interesting - I think this could be solved by passing the changed file path through fs.realPath.