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 trialThomas Smith
400 PointsWorkspace Preview not working correctly
I tried my code in CodePen and it looks exactly like it's supposed to however the preview from workspaces doesn't change. What would the reason for that be?
6 Answers
Nathan Brazil
Courses Plus Student 2,756 PointsI had the same problem with my workspace preview not updating. I was using Safari Version 7.0.6 (9537.78.2). All I did was cleared my history. I cleared my entire history but I am guessing you only need to clear one or more of the following: cookies, cache, and temp files. After I cleared the items I previously mentioned, I clicked the workspace preview button again to open a fresh preview screen and presto change-o! It works. Date: (9:6:14 2:32pm)
Greta Honeycutt
1,903 PointsDid you ever figure out the problem? This started to happen to me this morning. I can save the files to my computer, open them in a web browser and see my changes, but none of my changes in the past hour or so will show up in Workspace Preview.
Thomas Smith
400 PointsNope. Treehouse got back to me and said it must be an error in my code but I hadn't changed the link between my html file and my css file so I'm still not sure.
Andrew Hastings
152 PointsI have the same problem. Any new updates on this?
David Kristoffersson
3,231 PointsThis exact thing is happening to me right now. I changed the code in the workspace for the Javascript Basics segment "The Javascript console", fixing one of the bugs, saved, and when I do preview it still pops up the old version with both bugs.
David Kristoffersson
3,231 PointsI got past it only after I specifically cleared the browsing data of "Cached image and files" in chrome.
Kris Muir
2,355 Points+1 This fixed mine too. Go into Chrome's settings, History>Clear Browsing data, and then select "Cached images and files". I also chose to clear browsing history but that probably isn't necessary.
What a pain in the butt, though. Took me a while to realize it was a cached copy and that my JS was fine.
Jayson Santos
574 PointsI experience the same thing I tried to use preview still it is not loading.