-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
This is not urgent. I'm just thinking that at the moment, if we trigger lots of requests, lots of files will be watched for changes. This makes sense if all the requests come from new tabs. But otherwise doesn't (e.g. if it's the same tab asking different things we should only really track the file that is currently being watched).
Watching files is very cheap though so not a big deal and even in the case of a huge website, we'd basically have to do hundreds of thousands of requests and modify all these files for it to maybe be a bottleneck.
Suggestion: a doable intermediate step which would feel cleaner is to stop watching files for which there is no associated viewer.
Reactions are currently unavailable