build-plugin icon indicating copy to clipboard operation
build-plugin copied to clipboard

Hot / Live Reload Timing Metrics

Open dtothefp opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe:

No, just a feature. Maybe this is already possible?

Describe the solution you'd like:

A way to hook into hot / livereload event and send timing metrics for duration

Describe alternatives you've considered:

Building my own plugin but not sure if hooking into the initiation / completion of reload event is possible. Found this SO with no answers https://stackoverflow.com/questions/72191654/tap-into-webapck-hotmodulereload-or-livereload-runtime-hook

dtothefp avatar Sep 26 '22 22:09 dtothefp

+1 Would be great to have this and help differentiate partial vs full builds. From what I saw, the current hot module rebuilds seem to send metrics along with the full-build. So it could potentially pollute things.

comp615 avatar Sep 28 '22 15:09 comp615