BrowserSync / browser-sync

Keep multiple browsers & devices in sync when building websites. https://browsersync.io
https://discord.gg/2d2xUThp
Apache License 2.0
12.19k stars 757 forks source link

Updates in Chrome only with opened DevTools #598

Open MattDiMu opened 9 years ago

MattDiMu commented 9 years ago

I'm experiencing a strange bug in Google Chrome v 42.0.2311.90 m:

Neither CSS updates nor does the browser reload in Google Chrome as long as I haven't opened my dev-tools (when loading the page for the first time). It does work in FF, IE & Google Chrome Canary, however (without any DevTools open).

I've tested it multiple times (+ restarts) and I may reliably reproduce it. I can't say whether it's a browserSync-Bug or some DevTools-Setting like "Disable cache (while DevTools is open)" (which I've activated).

Regards

Matt

torkale commented 9 years ago

@MattDiMu I am getting that as well - did you find a work around?

dsebastien commented 9 years ago

I don't know if this might be the cause of your issue but I noticed that I got 404 errors in Chrome on some BrowserSync script right after I updated BrowserSync (and it wouldn't refresh automatically, I guess because it wasn't actually connected with BrowserSync's server). Clearing Chrome's cache fixed the issue for me.

jamessun commented 9 years ago

FWIW, suggestion from @dsebastien, clearing Chrome cache, worked for me, too.

MattDiMu commented 9 years ago

Thx for your hints, but clearing the cache didn't/doesn't work for me. The css still updates only if dev-tools are open or i press refresh.