How to force Chrome's script debugger to reload javascript?

前端 未结 15 1920
天涯浪人
天涯浪人 2020-12-12 09:56

I really like the ability to edit javascript in the chrome debugger however, I find that it can be really problematic getting the debugger to re-fetch the JavaScript from th

15条回答
  •  一整个雨季
    2020-12-12 09:57

    If the files which you are loading are cached and if the changes you have made does not reflect in the code then there are 2 ways you can deal with this

    1. Clear the Cache as everyone told

    2. If u want Cache and only the files have to be reloaded , you can go to network tab of the dev tool and clear whatever was loaded. next time it will not load it from cache. you will have your latest changes.

提交回复
热议问题