-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
I have noticed then when watching large files the browser might reload before the file write is complete and show an error. One possible solution could be to check if stat.mtime is changing (doc). I think chokidar solves this in a similar way.
The problem is that fs.watch fires an event as soon as the file is changed - not when it is finished changing (in case of a longer write).
If you want I can try and make a PR?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels