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 JavaScript Basics (Retired) Making Decisions with Conditional Statements Improving the Random Number Guessing Game

Sam Sommers
Sam Sommers
1,777 Points

workspace will not update

I spent a frustrating hour troubleshooting my code, only to realize that workspaces was not updating. Every time I hit preview, it would give the same error, and I realized that workspace would not update. Any ideas why this would happen?

After I realized it, I opened a previous workspace and entered the code. it worked fine.

Sam Sommers
Sam Sommers
1,777 Points

to clarify, I was indeed saving workspace multiple times.

4 Answers

I have also had this problem a number of times- currently trying to do the 5 question quiz JavaScript challenge and no alterations appear in the console even though they were saved.

Same issue, the program keeps running older code. I tested it by changing my prompt to output a different string and it still outputs the old one. Yes, I saved the file, reopened the workspace, tried everything that came to mind, but to no avail. Hoping the TreeHouse team is on it.

3 months later and Im still having this issue... The code I write is not updating when I save it.

Gary Melican
Gary Melican
10,194 Points

Me too - it's very annoying.