JavaScript and CSS files not reloading when working on localhost

1,553 views
Skip to first unread message

Noel Abrahams

unread,
Nov 3, 2016, 8:10:33 AM11/3/16
to Google Chrome Developer Tools
Hi, Guys,

Previously my workflow when developing a website on my workstation has been to make changes to the .js or .css files then refresh Chrome using either F5, the reload icon, or right-click "Reload".

This used to work fine; I'd always immediately see any changes I had made to the .js or .css files (reflected in the rendered page).

As of a few days ago, the refresh no longer works or only works intermittently.

I now have to either hit Control + F5 or have Dev Tools open with the "Disable cache (while DevTools is open)" checked. This may sound like a small inconvenience, but considering the frequency of my F5 usage (God knows: 5000 times a day?!) it is quite a nuisance.

Does anyone know why the behaviour has changed in Chrome? I am on version 54.0.2840.87 m.

I should also add that I'm working on a singe-page-application and currently load about 500 .js, .css and .json files on the page during development.

Have I hit some kind of limit after which Chrome no longer automatically reloads on F5 (when working on localhost)?

Any help much appreciated.

Thanks!

Noel

PhistucK

unread,
Nov 3, 2016, 8:14:12 AM11/3/16
to Google Chrome Developer Tools
​If "Disable cache" does not work without also pressing Control + F5, this is a bug. Are you sure this is the case?​


PhistucK

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/5347b301-276b-4be8-b6b6-e68aae892de5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Noel Abrahams

unread,
Nov 3, 2016, 8:40:58 AM11/3/16
to Google Chrome Developer Tools
I think "Disable cache" is working fine (maybe it's not clear, but I didn't say "Disable cache" is not working).

I just want to know why I need to hit Control + F5 now, while previously F5 or right-click "Reload" worked just fine.

Noel Abrahams

unread,
Nov 3, 2016, 8:42:56 AM11/3/16
to Google Chrome Developer Tools
I should add all the discussion above is with "Disable cache" unchecked.

PhistucK

unread,
Nov 3, 2016, 8:43:33 AM11/3/16
to Google Chrome Developer Tools
Sorry, I missed the "or" there. If you are sure you did not change your server or any HTTP header, perhaps file an issue at crbug.com so the team could investigate.


PhistucK

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.

Noel Abrahams

unread,
Nov 3, 2016, 9:22:13 AM11/3/16
to Google Chrome Developer Tools

There seems to be something similar here, but that is referring to an external resource while my case is to do with development on a server running on localhost.

Thanks.

 
Reply all
Reply to author
Forward
0 new messages