blaise-io / live-reload

Browser extension for web devs. Monitors source files on a page and reloads page or source file when a change is detected.
MIT License
60 stars 9 forks source link

Consumes lots of energy #10

Closed bfintal closed 4 years ago

bfintal commented 4 years ago

I'm running the latest Chrome, and I have 20 tabs open (using The Great Discarder extension too, nothing else). I turned on Live Reload, watching on for only *://localhost:888/* (which is turned on in only 2 tabs) and my macBook's fans are going crazy. Checking my battery, it displays the browser consuming significant energy when Live Reload is on.

Once I disable Live Reload extension, things go quiet again.

blaise-io commented 4 years ago

@bfintal Thanks for reporting.

How many source files were matched, approximately?

This addon is quite heavy when monitoring lots of source files, it fetches the file every N seconds and this includes hashing the entire file contents. Maybe there's some optimizations possible.

blaise-io commented 4 years ago

Inactive