Nick Vanderbilt
Nick Vanderbilt

Reputation: 2535

How do I reload the page after making changes to JavaScript code on source panel of chrome dev tool

I was profiling bbc page and I noticed some jankiness. I got to the culprit JavaScript file and it had an observer on scroll. I made the changes. However when I reload the page all my changes are gone.

I could have used workspaces but since I do not have bbc code I can't use it.

My question is after making local changes to the file how do I tell chrome devtool to use this changed file and then reload the page so that I could do performance profiling again.

Upvotes: 0

Views: 675

Answers (1)

Garbee
Garbee

Reputation: 10981

This feature is in development as a Local Overrides experiment. However, it is not yet stable (some testers reporting it simply crashes the browser) so using the experiment as it is now is not recommended. As it is, in Stable Chrome DevTools there is no functionality for this built in.

Upvotes: 1

Related Questions