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
mygranny
109 Pointsworkspace not updating added code in preview for html
My preview is not incorporating added code on the nick pettit design page.
9 Answers
Ryan Knaak
276 PointsI have the same problem. I am working off of the jquery lessons and any new changes to my html are not reflected in the preview. I even deleted all of my html, saved, ran the preview and it still had not changed. I am using google chrome.
mygranny
109 PointsI copied the code (with section and footer) to Komodo html editor and the preview showed everything in the code. There is some bug in workspaces which has me stuck on the first index.html version. Pls advise when bug has been found. thx!
Ryan Knaak
276 PointsAfter doing some testing, I've the issue is due to your browser loading from the cache instead of pulling the new data. Here few workarounds for chrome users http://stackoverflow.com/questions/5690269/disabling-chrome-cache-for-website-development
Steven Byington
13,584 PointsAre you saving the updated HTML file before reloading the page?
mygranny
109 PointsYes. I'm getting only the first header, but my code has h2 and footer etc. it's all there when i reopen index.html, but preview does not reflect all content.
mygranny
109 PointsUpdate. I recreated a new index.html and changed the header to something else. Preview still shows Nick Pettit. Seems like the preview in workspaces in stuck on the first index.html code and not updating as I modify code. I'm running win 7 with firefox. Thanks.
Edward Gordon
486 PointsDead thread, but if you hit CTRL+f5 on the page that "isn't updating" (where it says "Nick Pettit"), that will refresh your cache and reflect the changes you made within the workspace.
Preston Ransbottom
3,359 PointsYes I can verify I had the same issues as above.. CTRL + F5 refreshes cache will force the page to pull new. We have this issue at work all the time.
Javier Kirksey
421 PointsSame exact problem here. Not sure but Google chrome wasn't updating the page. I just switched to safari and it was all good.
Preston Ransbottom
3,359 PointsHi Javier.. Ctrl + F5 is your temporary solution .. but a alternative solution is to hit F12 and this will open up your developer tools. Then under the "Network" sub menu check the box next to disable cache. And that's it!!