preactjs/wmr

Symlinked folder inside public messes HMR refresh

ruifortes opened this issue · 1 comments

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

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