admin管理员组文章数量:1419184
I am developing a web-application, and google-chrome started behaving weird. When I make change in a JavaScript file, after I hit refresh on the debugger - I still see the same code in the debugger, and the browser executes this old code. Why is google-chrome behaving like this and how can I solve this?
I am developing a web-application, and google-chrome started behaving weird. When I make change in a JavaScript file, after I hit refresh on the debugger - I still see the same code in the debugger, and the browser executes this old code. Why is google-chrome behaving like this and how can I solve this?
Share Improve this question asked Feb 14, 2013 at 9:26 BelphegorBelphegor 4,77611 gold badges36 silver badges60 bronze badges2 Answers
Reset to default 5- Open Developer Tools, by right clicking and choosing "Inspect Element" or Ctrl/Cmd + Shift + J
- Click the Cog icon in the bottom right of that window.
- Choose the General Tab
- Tick "Disable cache"
This will disable Chrome from caching (locally storing) a copy of the js file
perhaps is a cache problem. try doing a cache refresh (ctrl-r, ctrl-f5). if you use cache.manifest file then you need to touch
it in some way and double refresh your app for the changes to show.
本文标签: javascriptGoogle chrome doesn39t save changes of my code in the debuggerStack Overflow
版权声明:本文标题:javascript - Google chrome doesn't save changes of my code in the debugger - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745304038a2652540.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论