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 Introducing JavaScript Let's Make a Game The Language of Programming

Hi why doesn't the file website update for me when I change a variable?

.

1 Answer

Steven Parker
Steven Parker
231,236 Points

If you're using the workspaces, you must do two things to see your changes on the preview. First, you must save your changes using the menu or the Ctrl-S shortcut. There will be an orange dot on the tab to remind you of unsaved changes until you do.

Then you must refresh your browser for it to get the new code from the preview.

.

Steven Parker
Steven Parker
231,236 Points

I'm not familiar with the server extension for VSCode, but you probably still need to refresh your browser.