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 trialJustin Massion
Courses Plus Student 675 PointsPreview did not change based on code
I changed my name in the code. And I'm 100% sure i did it right. I hit command s. I also went to file -> save ... and when i'd go to preview, it would not say my name.
5 Answers
Henrik Christensen
Python Web Development Techdegree Student 38,322 PointsAny chance you could paste the code?
Julie Myers
7,627 PointsRefresh your browser.
Daryl Carr
18,318 PointsHey. Three things to try;
- Make sure your saving your work on workspace and then hitting the preview.
- Refresh the browser after saving your changes if you have already saved the work on workspace.
- If you have done this and the issue still persists, go into your history and delete your recent cache files. Then refresh the browser.
Hope this helps
Daryl
Ronda Jackson
3,698 PointsI tried everything suggested to get my system to preview the changes. I saved and refresh several times and nothing worked. I then clicked on Fork Workspace (the icon between the preview and snapshot) it finally worked. Does anyone know the meaning of Fork? It also brought up some type of Console window with the line "treehouse:~/workspace$. Does anyone know the meaning of that?
Andrei Badea
4,027 PointsHi everyone,
I have just solved the problem after trying to find the answer for about 3 hours. Right, so the problem isn't with treehouse but with the browser itself and when I say browser I mean Google Chrome. The problem is that Google Chrome has in its default settings, the setting of prefetching resources to load pages more quickly. To solve this press: Command + Y or Ctrl + Y (I'm guessing here as I am a Mac user), it should get you to history -> you should see Settings on the left, go to settings -> go all the way down to advanced settings -> click advanced settings -> scroll down to privacy -> un-tick 'Use a prediction service to help complete searches and URLs typed in the address bar or the app launcher search box' and 'Prefetch resources to load pages more quickly' and -> Problem solved.
Now, every other answer here is completely valid, after you change code you should SAVE (Command + S) then refresh (Command + R).
I hope this helps,
Enjoy coding!!
Petrus Supusepa
6,626 PointsPetrus Supusepa
6,626 PointsThank you.