Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Chrome doesn't recognize changes...

If I refresh this web browser, it still shows old version of project. On Safari everything works great. Anyone know what is the problem with refreshing localhost in Chrome?

5 Answers

There shouldn't be anything wrong with chrome.Could you paste the code that doesn't execute properly?

Try clearing your cache, i know this is can be a problem with Firefox. Could be the same thing.

Clearing cache helped, but I have to clear cache every time before refreshing page. It looks like Chrome stores in memory first version of page and ignores new changes until I once again reset cache.

Here is the repo of this project: https://github.com/pidubiel/gulp_project

I run http-server on port 3000 and 'watchFiles' task.

Everything works properly on Firefox and Safari. I don't have to every time clear cache to see new changes. The problem is only on Chrome.

Try using incognito mode on chrome. I personally use firefox but heard recently that incognito mode works when you have this sort of problem.

Unfortunately this also doesn't work with incognito mode.